Class ADFSCredentialProvider
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.core.authentication.AbstractCredentialProvider
org.ametys.plugins.extrausermgt.authentication.msal.AbstractMSALCredentialProvider
org.ametys.plugins.extrausermgt.authentication.msal.ADFSCredentialProvider
- All Implemented Interfaces:
BlockingCredentialProvider,CredentialProvider,NonBlockingCredentialProvider,LogEnabled,Component,Contextualizable
Sign in through ADFS, using the OpenId Connect protocol.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.ametys.plugins.extrausermgt.authentication.msal.AbstractMSALCredentialProvider
blockingGetUserIdentity, blockingGrantAnonymousRequest, blockingIsStillConnected, blockingUserAllowed, blockingUserNotAllowed, contextualize, getScopes, init, nonBlockingGetUserIdentity, nonBlockingGrantAnonymousRequest, nonBlockingIsStillConnected, nonBlockingUserAllowed, nonBlockingUserNotAllowed, requiresNewWindowMethods inherited from class org.ametys.core.authentication.AbstractCredentialProvider
equals, getCredentialProviderModelId, getId, getLabel, getParameterValues, hashCodeMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLoggerMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ametys.core.authentication.CredentialProvider
getCredentialProviderModelId, getId, getLabel, getParameterValues, getUserIdentity, grantAnonymousRequest, isStillConnected, userAllowed, userNotAllowed
-
Constructor Details
-
ADFSCredentialProvider
public ADFSCredentialProvider()
-
-
Method Details
-
init
public void init(String id, String cpModelId, Map<String, Object> paramValues, String label) throws ExceptionDescription copied from interface:CredentialProviderInitialize the credential provider with given parameters' values.- Specified by:
initin interfaceCredentialProvider- Overrides:
initin classAbstractCredentialProvider- Parameters:
id- The unique identifiercpModelId- The id of credential provider extension pointparamValues- The parameters' valueslabel- The specific label of this instance. Can be null- Throws:
Exception- If an error occurred
-
getAuthority
Description copied from class:AbstractMSALCredentialProviderReturns the URL to send authorization and token requests to.- Specified by:
getAuthorityin classAbstractMSALCredentialProvider- Returns:
- the OIDC authority URL
-