Package org.acegisecurity.userdetails.ldap

Examples of org.acegisecurity.userdetails.ldap.LdapUserDetails


      if(rollerDetails.getLocale() != null) {
        ud.setLocale(rollerDetails.getLocale());
      }
     
    } else if(userDetails instanceof LdapUserDetails) {
      LdapUserDetails ldapDetails = (LdapUserDetails) userDetails;
      Attributes attributes = ldapDetails.getAttributes();
      String name = getLdapAttribute(attributes, RollerConfig.getProperty(NAME_LDAP_PROPERTY, DEFAULT_NAME_LDAP_ATTRIBUTE));
      String email = getLdapAttribute(attributes, RollerConfig.getProperty(EMAIL_LDAP_PROPERTY, DEFAULT_EMAIL_LDAP_ATTRIBUTE));
     
      ud.setFullName(name);
      ud.setEmailAddress(email);
View Full Code Here

TOP

Related Classes of org.acegisecurity.userdetails.ldap.LdapUserDetails

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.