BaltradDex
BALTRAD Data Exchange System
Loading...
Searching...
No Matches
eu.baltrad.dex.auth.ldap.BaltradUserDetailsContextMapper Class Reference
Inheritance diagram for eu.baltrad.dex.auth.ldap.BaltradUserDetailsContextMapper:

Public Member Functions

UserDetails mapUserFromContext (DirContextOperations arg0, String username, Collection<? extends GrantedAuthority > authorities)
 
void mapUserToContext (UserDetails arg0, DirContextAdapter arg1)
 
void afterPropertiesSet () throws Exception
 
BaltradUserDetailsService getService ()
 
void setService (BaltradUserDetailsService service)
 

Detailed Description

Context mapper that makes it possible to map a ldap user to a user details. Just forwards the mapUserToContext to the BaltradUserDetailsService

Author
Anders Henja

Member Function Documentation

◆ getService()

BaltradUserDetailsService eu.baltrad.dex.auth.ldap.BaltradUserDetailsContextMapper.getService ( )
inline
Returns
the user details service

◆ mapUserFromContext()

UserDetails eu.baltrad.dex.auth.ldap.BaltradUserDetailsContextMapper.mapUserFromContext ( DirContextOperations arg0,
String username,
Collection<? extends GrantedAuthority > authorities )
inline
See also
UserDetailsContextMapper.mapUserFromContext(DirContextOperations, String, GrantedAuthority[])

◆ mapUserToContext()

void eu.baltrad.dex.auth.ldap.BaltradUserDetailsContextMapper.mapUserToContext ( UserDetails arg0,
DirContextAdapter arg1 )
inline
See also
UserDetailsContextMapper.mapUserToContext(UserDetails, DirContextAdapter)

◆ setService()

void eu.baltrad.dex.auth.ldap.BaltradUserDetailsContextMapper.setService ( BaltradUserDetailsService service)
inline
Parameters
servicethe user details service to set

The documentation for this class was generated from the following file: