Class SecurityConfigurationLdap.UserDetailsContextMapperImpl

  • All Implemented Interfaces:
    org.springframework.security.ldap.userdetails.UserDetailsContextMapper
    Enclosing class:
    SecurityConfigurationLdap

    public class SecurityConfigurationLdap.UserDetailsContextMapperImpl
    extends java.lang.Object
    implements org.springframework.security.ldap.userdetails.UserDetailsContextMapper
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.security.core.userdetails.UserDetails mapUserFromContext​(org.springframework.ldap.core.DirContextOperations dirContextOperations, java.lang.String username, java.util.Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)  
      void mapUserToContext​(org.springframework.security.core.userdetails.UserDetails userDetails, org.springframework.ldap.core.DirContextAdapter dirContextAdapter)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UserDetailsContextMapperImpl

        public UserDetailsContextMapperImpl()
    • Method Detail

      • mapUserFromContext

        public org.springframework.security.core.userdetails.UserDetails mapUserFromContext​(org.springframework.ldap.core.DirContextOperations dirContextOperations,
                                                                                            java.lang.String username,
                                                                                            java.util.Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
        Specified by:
        mapUserFromContext in interface org.springframework.security.ldap.userdetails.UserDetailsContextMapper
      • mapUserToContext

        public void mapUserToContext​(org.springframework.security.core.userdetails.UserDetails userDetails,
                                     org.springframework.ldap.core.DirContextAdapter dirContextAdapter)
        Specified by:
        mapUserToContext in interface org.springframework.security.ldap.userdetails.UserDetailsContextMapper