Interface MapSubjectCredentialManagerEntity
- 
- All Known Implementing Classes:
- DefaultMapSubjectCredentialManagerEntity
 
 public interface MapSubjectCredentialManagerEntityInterface for credential management in entities in the map storage.- Author:
- Alexander Schwartz
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Stream<String>getDisableableCredentialTypesStream()List the credential types that can be disabled for this user.booleanisConfiguredFor(String type)Check if the entity is configured for the given credential type.booleanupdateCredential(CredentialInput input)Update the credentials for a user with the input provided by the user for this store.voidvalidateCredentials(List<CredentialInput> inputs)Validate the credentials of a user.
 
- 
- 
- 
Method Detail- 
validateCredentialsvoid validateCredentials(List<CredentialInput> inputs) Validate the credentials of a user. Will remove all inputs from the list that have been successfully validated, all remaining entries weren't validated. An empty list signals to the caller that authentication has completed successfully.- Parameters:
- inputs- Credential inputs as provided by a user
 
 - 
updateCredentialboolean updateCredential(CredentialInput input) Update the credentials for a user with the input provided by the user for this store.- Parameters:
- input- new credentials as provided by the user
- Returns:
- true if the credential has been updated successfully, false otherwise. False might indicate that the credential type isn't supported of the new credentials aren't valid.
 
 - 
isConfiguredForboolean isConfiguredFor(String type) Check if the entity is configured for the given credential type.- Parameters:
- type- credential type
 
 
- 
 
-