Class AuthIdentificationManager
- java.lang.Object
-
- com.helger.security.authentication.result.AuthIdentificationManager
-
@Immutable public final class AuthIdentificationManager extends Object
This is the main class for creating anIAuthTokenfromIAuthCredentials.- Author:
- Philip Helger
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthIdentificationResultvalidateLoginCredentialsAndCreateToken(IAuthCredentials aCredentials)Validate the login credentials, try to resolve the subject and create a token upon success.
-
-
-
Method Detail
-
validateLoginCredentialsAndCreateToken
@Nonnull public static AuthIdentificationResult validateLoginCredentialsAndCreateToken(@Nonnull IAuthCredentials aCredentials)
Validate the login credentials, try to resolve the subject and create a token upon success.- Parameters:
aCredentials- The credentials to validate. Ifnullit is treated as error.- Returns:
- Never
null.
-
-