CredentialValidationResult
is the result from an attempt to
validate an instance of Credential
.
IdentityStore#validate
Modifier and Type | Class and Description |
---|---|
public static enum |
Modifier and Type | Field and Description |
---|---|
private final String | |
private final CallerPrincipal | |
private final String | |
private final Set | |
public static final CredentialValidationResult | |
public static final CredentialValidationResult | |
private final CredentialValidationResult. | |
private final String |
Access | Constructor and Description |
---|---|
private | CredentialValidationResult(CredentialValidationResult.
Constructor for any result other than VALID. |
public | CredentialValidationResult(String
Name of the validated caller callerName)Constructor for a VALID result. |
public | CredentialValidationResult(CallerPrincipal
CallerPrincipal of validated caller callerPrincipal)Constructor for a VALID result. |
public | CredentialValidationResult(String
Name of the validated caller callerName, Set<String> Groups associated with the caller from the identity store groups)Constructor for a VALID result. |
public | CredentialValidationResult(CallerPrincipal
CallerPrincipal of validated caller callerPrincipal, Set<String> Groups associated with the caller from the identity store groups)Constructor for a VALID result. |
public | CredentialValidationResult(String
Identity store unique ID storeId, String Name of the validated caller callerName, String Caller's LDAP DN (distinguished name) callerDn, String Caller's unique identifier from the identity store callerUniqueId, Set<String> Groups associated with the caller from the identity store groups)Constructor for a VALID result. |
public | CredentialValidationResult(String
Identity store unique ID storeId, CallerPrincipal CallerPrincipal of validated caller callerPrincipal, String Caller's LDAP DN (distinguished name) callerDn, String Caller's unique identifier from the identity store callerUniqueId, Set<String> Groups associated with the caller from the identity store groups)Constructor for a VALID result. |
private | CredentialValidationResult(CredentialValidationResult.
The result status status,Identity store unique ID storeId, CallerPrincipal CallerPrincipal of validated caller callerPrincipal, String Caller's LDAP DN (distinguished name) callerDn, String Caller's unique identifier from the identity store callerUniqueId, Set<String> Groups associated with the caller from the identity store groups)Private constructor. |
Modifier and Type | Method and Description |
---|---|
public String | |
public Set | Returns: The set of groups that the specified Caller is in, or empty if none.Determines the set of groups that the specified Caller is in, based on the associated identity store. |
public CallerPrincipal | Returns: The CallerPrincipal.Return the CallerPrincipal for the validated credential. |
public String | Returns: Caller's unique identifier.Return a string that uniquely identifies this caller within the identity store (since the Principal name used may not be unique). |
public String | Returns: String identifying the external store used to validate credentials.Return the unique ID of the identity store used to validate the credentials. |
public CredentialValidationResult. |
callerDn | back to summary |
---|---|
private final String callerDn |
callerPrincipal | back to summary |
---|---|
private final CallerPrincipal callerPrincipal |
callerUniqueId | back to summary |
---|---|
private final String callerUniqueId |
groups | back to summary |
---|---|
private final Set<String> groups |
INVALID_RESULT | back to summary |
---|---|
public static final CredentialValidationResult INVALID_RESULT |
NOT_VALIDATED_RESULT | back to summary |
---|---|
public static final CredentialValidationResult NOT_VALIDATED_RESULT |
status | back to summary |
---|---|
private final CredentialValidationResult. |
storeId | back to summary |
---|---|
private final String storeId |
CredentialValidationResult | back to summary |
---|---|
private CredentialValidationResult(CredentialValidationResult. Constructor for any result other than VALID. Used only internally to construct the static status instances. |
CredentialValidationResult | back to summary |
---|---|
public CredentialValidationResult(String callerName) Constructor for a VALID result.
|
CredentialValidationResult | back to summary |
---|---|
public CredentialValidationResult(CallerPrincipal callerPrincipal) Constructor for a VALID result.
|
CredentialValidationResult | back to summary |
---|---|
public CredentialValidationResult(String callerName, Set<String> groups) Constructor for a VALID result. |
CredentialValidationResult | back to summary |
---|---|
public CredentialValidationResult(CallerPrincipal callerPrincipal, Set<String> groups) Constructor for a VALID result.
|
CredentialValidationResult | back to summary |
---|---|
public CredentialValidationResult(String storeId, String callerName, String callerDn, String callerUniqueId, Set<String> groups) Constructor for a VALID result. |
CredentialValidationResult | back to summary |
---|---|
public CredentialValidationResult(String storeId, CallerPrincipal callerPrincipal, String callerDn, String callerUniqueId, Set<String> groups) Constructor for a VALID result.
|
CredentialValidationResult | back to summary |
---|---|
private CredentialValidationResult(CredentialValidationResult. Private constructor.
|
getCallerDn | back to summary |
---|---|
public String getCallerDn() Return the CallerPrincipal for the validated credential.
|
getCallerGroups | back to summary |
---|---|
public Set Determines the set of groups that the specified Caller is in, based on the associated identity store. |
getCallerPrincipal | back to summary |
---|---|
public CallerPrincipal getCallerPrincipal() Return the CallerPrincipal for the validated credential.
|
getCallerUniqueId | back to summary |
---|---|
public String getCallerUniqueId() Return a string that uniquely identifies this caller within the identity store (since the Principal name used may not be unique).
|
getIdentityStoreId | back to summary |
---|---|
public String getIdentityStoreId() Return the unique ID of the identity store used to validate the credentials.
|
getStatus | back to summary |
---|---|
public CredentialValidationResult. Determines the validation status.
|
Modifier and Type | Field and Description |
---|---|
public static final CredentialValidationResult. | INVALID
Indicates that the credential is not valid after a validation attempt. |
public static final CredentialValidationResult. | NOT_VALIDATED
Indicates that the credential could not be validated |
public static final CredentialValidationResult. | VALID
Indicates that the credential is valid after a validation attempt. |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
public static CredentialValidationResult. | |
public static CredentialValidationResult. |
INVALID | back to summary |
---|---|
public static final CredentialValidationResult. Indicates that the credential is not valid after a validation attempt. |
NOT_VALIDATED | back to summary |
---|---|
public static final CredentialValidationResult. Indicates that the credential could not be validated |
VALID | back to summary |
---|---|
public static final CredentialValidationResult. Indicates that the credential is valid after a validation attempt. |
Status | back to summary |
---|---|
private Status() |
valueOf | back to summary |
---|---|
public static CredentialValidationResult. |
values | back to summary |
---|---|
public static CredentialValidationResult. |