3 Replies Latest reply on Apr 7, 2008 1:05 AM by Alejandro Montenegro

    SSO LdapLoginProvider activates an identity based on the Sur

    Alejandro Montenegro Novice

      Hi,
      At the Federated SSO I'm wondering if its intentionally that the Surname in the LDAP is used to define that an Identity is active.

      String cour = rs.getString("sn");
      boolean active = (new Boolean(cour)).booleanValue();
      ...
      identity.setActive(active);
      

      If not, what should be used? so the code could be fixed.