Package org.keycloak.models.map.storage
Interface MapKeycloakTransactionWithAuth<V extends AbstractEntity,M>
-
- All Superinterfaces:
KeycloakTransaction
,MapKeycloakTransaction<V,M>
public interface MapKeycloakTransactionWithAuth<V extends AbstractEntity,M> extends MapKeycloakTransaction<V,M>
A map store transaction that can authenticate the credentials provided by a user.- Author:
- Alexander Schwartz
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MapCredentialValidationOutput<V>
authenticate(RealmModel realm, CredentialInput input)
Authenticate a user with the provided input credentials.-
Methods inherited from interface org.keycloak.models.KeycloakTransaction
begin, commit, getRollbackOnly, isActive, rollback, setRollbackOnly
-
-
-
-
Method Detail
-
authenticate
MapCredentialValidationOutput<V> authenticate(RealmModel realm, CredentialInput input)
Authenticate a user with the provided input credentials. Use this, for example, for Kerberos SPNEGO authentication, where the user will be determined at the end of the interaction with the client.- Parameters:
realm
- realm against which to authenticate againstinput
- information provided by the user- Returns:
- Information on how to continue the conversion with the client, or a terminal result. For a successful authentication, will also contain information about the user.
-
-