Class UserDetailsContextMapperImpl

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

    @ConditionalOnExpression("${nae.ldap.enabled:false}")
    public class UserDetailsContextMapperImpl
    extends java.lang.Object
    implements org.springframework.security.ldap.userdetails.UserDetailsContextMapper
    • 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 user,
                                     org.springframework.ldap.core.DirContextAdapter ctx)
        Specified by:
        mapUserToContext in interface org.springframework.security.ldap.userdetails.UserDetailsContextMapper