Class NodeAuthenticationToken
- java.lang.Object
-
- org.springframework.security.authentication.AbstractAuthenticationToken
-
- com.evolveum.midpoint.model.impl.security.NodeAuthenticationToken
-
- All Implemented Interfaces:
Serializable
,Principal
,org.springframework.security.core.Authentication
,org.springframework.security.core.CredentialsContainer
public class NodeAuthenticationToken extends org.springframework.security.authentication.AbstractAuthenticationToken
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NodeAuthenticationToken(PrismObject<NodeType> node, String remoteAddress, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getCredentials()
PrismObject<NodeType>
getPrincipal()
-
Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken
equals, eraseCredentials, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setAuthenticated, setDetails, toString
-
-
-
-
Constructor Detail
-
NodeAuthenticationToken
public NodeAuthenticationToken(PrismObject<NodeType> node, String remoteAddress, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
-
-
Method Detail
-
getCredentials
public Object getCredentials()
-
getPrincipal
public PrismObject<NodeType> getPrincipal()
-
-