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.
-
Field Summary
Fields inherited from class org.ametys.plugins.extrausermgt.authentication.msal.AbstractMSALCredentialProvider
ACCESS_TOKEN_SESSION_ATTRIBUTE
-
Constructor Summary
-
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, refreshTokenIfNeeded, requiresNewWindow
Methods inherited from class org.ametys.core.authentication.AbstractCredentialProvider
equals, getCredentialProviderModelId, getId, getLabel, getParameterValues, hashCode
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods 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:CredentialProvider
Initialize the credential provider with given parameters' values.- Specified by:
init
in interfaceCredentialProvider
- Overrides:
init
in 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:AbstractMSALCredentialProvider
Returns the URL to send authorization and token requests to.- Specified by:
getAuthority
in classAbstractMSALCredentialProvider
- Returns:
- the OIDC authority URL
-