@Immutable public final class AuthCredentialToSubjectResolverManager extends Object
IAuthCredentials interface does not state
anything about the subject by default.| Modifier and Type | Method and Description |
|---|---|
static com.helger.commons.collection.impl.ICommonsList<IAuthCredentialToSubjectResolverSPI> |
getAllAuthCredentialToSubjectResolvers() |
static int |
getAuthCredentialToSubjectResolverCount() |
static IAuthSubject |
getSubjectFromCredentials(IAuthCredentials aCredentials)
Resolve the
IAuthSubject from the specified credentials. |
@Nonnull @ReturnsMutableCopy public static com.helger.commons.collection.impl.ICommonsList<IAuthCredentialToSubjectResolverSPI> getAllAuthCredentialToSubjectResolvers()
IAuthCredentialToSubjectResolverSPI. Never
null but maybe empty.@Nonnegative public static int getAuthCredentialToSubjectResolverCount()
@Nullable public static IAuthSubject getSubjectFromCredentials(@Nonnull IAuthCredentials aCredentials)
IAuthSubject from the specified credentials.aCredentials - The credentials to be transformed.null if no subject matches the specified credentials.Copyright © 2016–2021 Philip Helger. All rights reserved.