Class AuthenticationResultPrincipal
- java.lang.Object
-
- net.shibboleth.idp.authn.principal.AuthenticationResultPrincipal
-
- All Implemented Interfaces:
Principal
public class AuthenticationResultPrincipal extends Object implements Principal
Principal that wraps anAuthenticationResult
.
-
-
Field Summary
Fields Modifier and Type Field Description private AuthenticationResult
authnResult
The authentication result.
-
Constructor Summary
Constructors Constructor Description AuthenticationResultPrincipal(AuthenticationResult result)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
AuthenticationResult
getAuthenticationResult()
Get theAuthenticationResult
.String
getName()
int
hashCode()
String
toString()
-
-
-
Field Detail
-
authnResult
@Nonnull private AuthenticationResult authnResult
The authentication result.
-
-
Constructor Detail
-
AuthenticationResultPrincipal
public AuthenticationResultPrincipal(@Nonnull @ParameterName(name="result") AuthenticationResult result)
Constructor.- Parameters:
result
- the result to wrap
-
-
Method Detail
-
getAuthenticationResult
@Nonnull public AuthenticationResult getAuthenticationResult()
Get theAuthenticationResult
.- Returns:
- the authentication result
-
hashCode
public int hashCode()
-
equals
public boolean equals(Object other)
-
-