java.lang.Object
org.springframework.security.authentication.AbstractAuthenticationToken
org.springframework.security.authentication.UsernamePasswordAuthenticationToken
com.erudika.para.server.security.LDAPAuthentication
- All Implemented Interfaces:
Serializable
,Principal
,org.springframework.security.core.Authentication
,org.springframework.security.core.CredentialsContainer
public class LDAPAuthentication
extends org.springframework.security.authentication.UsernamePasswordAuthenticationToken
Represents a user authentication with LDAP.
- Author:
- Alex Bogdanovski [[email protected]]
- See Also:
-
Constructor Summary
ConstructorDescriptionLDAPAuthentication
(Object principal, Object credentials) Default constructor. -
Method Summary
Methods inherited from class org.springframework.security.authentication.UsernamePasswordAuthenticationToken
authenticated, eraseCredentials, getCredentials, getPrincipal, setAuthenticated, unauthenticated
Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken
equals, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setDetails, toString
-
Constructor Details
-
LDAPAuthentication
-
-
Method Details
-
withApp
- Parameters:
app
-App
- Returns:
- this
-
getApp
public com.erudika.para.core.App getApp()- Returns:
- the
App
-
getLdapSettings
-