public class OAuth2AuthenticationProviderImpl extends AbstractAuthenticationManager<OAuth2AuthenticationProviderImpl> implements OAuth2AuthenticationProvider<OAuth2AuthenticationProviderImpl>
AbstractConfiguredObject.CallableWithArgument<V,A>, AbstractConfiguredObject.ChainedListenableFuture<V>, AbstractConfiguredObject.ChainedSettableFuture<V>, AbstractConfiguredObject.DuplicateIdException, AbstractConfiguredObject.DuplicateNameExceptionSECURED_STRING_VALUEAUTHENTICATION_OAUTH2_CONNECT_TIMEOUT, AUTHENTICATION_OAUTH2_READ_TIMEOUT, DEFAULT_AUTHENTICATION_OAUTH2_CONNECT_TIMEOUT, DEFAULT_AUTHENTICATION_OAUTH2_READ_TIMEOUTCONTEXT, CREATED_BY, CREATED_TIME, DESCRIPTION, DESIRED_STATE, DURABLE, ID, LAST_UPDATED_BY, LAST_UPDATED_TIME, LIFETIME_POLICY, NAME, OVER_SIZED_ATTRIBUTE_ALTERNATIVE_TEXT, STATE, TYPE| Modifier | Constructor and Description |
|---|---|
protected |
OAuth2AuthenticationProviderImpl(Map<String,Object> attributes,
Broker<?> broker) |
activate, addChildAsync, doDelete, getBroker, getDisabledMechanisms, getPreferencesProvider, getSecureOnlyMechanisms, getSubjectCreator, getVirtualHostPortBindings, recoverUser, setPreferencesProvider, startQuiescedaddChangeListener, applyToChildren, asObjectRecord, attainState, attributeSet, authoriseCreate, authoriseCreateChild, authoriseDelete, authoriseSetAttributes, beforeClose, changeAttribute, changeAttributes, childAdded, childRemoved, close, closeAsync, closeChildren, create, createAsync, createChild, createChildAsync, decryptSecrets, delete, deleteAsync, deleted, doAfter, doAfter, doAfter, doAfter, doAfter, doAfter, doAfterAlways, doAfterAlways, doCreation, doOnConfigThread, doOpening, doResolution, doSync, doSync, doValidation, findConfiguredObject, forceUpdateAllSecureAttributes, getActualAttributes, getAttainedChildById, getAttainedChildByName, getAttribute, getAttributeNames, getCategoryClass, getChildById, getChildByName, getChildExecutor, getChildren, getContext, getContextKeys, getContextValue, getContextValue, getCreatedBy, getCreatedTime, getDescription, getDesiredState, getId, getLastOpenedTime, getLastUpdatedBy, getLastUpdatedTime, getLifetimePolicy, getModel, getName, getObjectFactory, getParent, getSecurityManager, getState, getStatistics, getTaskExecutor, getType, getTypeClass, handleExceptionOnOpen, isDurable, managesChildStorage, notifyStateChanged, onClose, onCreate, onExceptionInOpen, onResolve, open, openAsync, parentsMap, postResolve, postResolveChildren, registerWithParents, removeChangeListener, rethrowRuntimeExceptionsOnOpen, runTask, setAttribute, setAttributes, setAttributesAsync, setEncrypter, setState, start, startAsync, stop, toString, validateOnCreateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSecureOnlyMechanismsgetDisabledMechanisms, getPreferencesProvider, getSubjectCreator, getVirtualHostPortBindings, recoverUser, setPreferencesProvideraddChangeListener, asObjectRecord, close, closeAsync, createChild, createChildAsync, decryptSecrets, delete, deleteAsync, findConfiguredObject, getActualAttributes, getAttainedChildById, getAttainedChildByName, getAttribute, getAttributeNames, getCategoryClass, getChildById, getChildByName, getChildExecutor, getChildren, getContext, getContextKeys, getContextValue, getContextValue, getCreatedBy, getCreatedTime, getDescription, getDesiredState, getId, getLastOpenedTime, getLastUpdatedBy, getLastUpdatedTime, getLifetimePolicy, getModel, getName, getObjectFactory, getParent, getState, getStatistics, getTaskExecutor, getType, getTypeClass, isDurable, managesChildStorage, open, openAsync, removeChangeListener, setAttribute, setAttributes, setAttributesAsyncprotected void onOpen()
onOpen in class AbstractAuthenticationManager<OAuth2AuthenticationProviderImpl>protected void validateChange(ConfiguredObject<?> proxyForValidation, Set<String> changedAttributes)
validateChange in class AbstractConfiguredObject<OAuth2AuthenticationProviderImpl>public void onValidate()
AbstractConfiguredObjectonValidate in class AbstractAuthenticationManager<OAuth2AuthenticationProviderImpl>public List<String> getMechanisms()
AuthenticationProvidergetMechanisms in interface AuthenticationProvider<OAuth2AuthenticationProviderImpl>public SaslServer createSaslServer(String mechanism, String localFQDN, Principal externalPrincipal) throws SaslException
AuthenticationProvidercreateSaslServer in interface AuthenticationProvider<OAuth2AuthenticationProviderImpl>mechanism - mechanism namelocalFQDN - domain nameexternalPrincipal - externally authenticated PrincipalSaslExceptionpublic AuthenticationResult authenticate(SaslServer server, byte[] response)
AuthenticationProviderauthenticate in interface AuthenticationProvider<OAuth2AuthenticationProviderImpl>server - SASL serverresponse - SASL response to processpublic AuthenticationResult authenticateViaAuthorizationCode(String authorizationCode, String redirectUri)
authenticateViaAuthorizationCode in interface OAuth2AuthenticationProvider<OAuth2AuthenticationProviderImpl>public AuthenticationResult authenticateViaAccessToken(String accessToken)
authenticateViaAccessToken in interface OAuth2AuthenticationProvider<OAuth2AuthenticationProviderImpl>public URI getAuthorizationEndpointURI()
getAuthorizationEndpointURI in interface OAuth2AuthenticationProvider<OAuth2AuthenticationProviderImpl>public URI getTokenEndpointURI()
getTokenEndpointURI in interface OAuth2AuthenticationProvider<OAuth2AuthenticationProviderImpl>public URI getIdentityResolverEndpointURI()
getIdentityResolverEndpointURI in interface OAuth2AuthenticationProvider<OAuth2AuthenticationProviderImpl>public URI getPostLogoutURI()
getPostLogoutURI in interface OAuth2AuthenticationProvider<OAuth2AuthenticationProviderImpl>public boolean getTokenEndpointNeedsAuth()
getTokenEndpointNeedsAuth in interface OAuth2AuthenticationProvider<OAuth2AuthenticationProviderImpl>public String getIdentityResolverType()
getIdentityResolverType in interface OAuth2AuthenticationProvider<OAuth2AuthenticationProviderImpl>public String getClientId()
getClientId in interface OAuth2AuthenticationProvider<OAuth2AuthenticationProviderImpl>public String getClientSecret()
getClientSecret in interface OAuth2AuthenticationProvider<OAuth2AuthenticationProviderImpl>public TrustStore getTrustStore()
getTrustStore in interface OAuth2AuthenticationProvider<OAuth2AuthenticationProviderImpl>public String getScope()
getScope in interface OAuth2AuthenticationProvider<OAuth2AuthenticationProviderImpl>public URI getDefaultAuthorizationEndpointURI()
getDefaultAuthorizationEndpointURI in interface OAuth2AuthenticationProvider<OAuth2AuthenticationProviderImpl>public URI getDefaultTokenEndpointURI()
getDefaultTokenEndpointURI in interface OAuth2AuthenticationProvider<OAuth2AuthenticationProviderImpl>public URI getDefaultIdentityResolverEndpointURI()
getDefaultIdentityResolverEndpointURI in interface OAuth2AuthenticationProvider<OAuth2AuthenticationProviderImpl>public String getDefaultScope()
getDefaultScope in interface OAuth2AuthenticationProvider<OAuth2AuthenticationProviderImpl>public List<String> getTlsProtocolWhiteList()
getTlsProtocolWhiteList in interface OAuth2AuthenticationProvider<OAuth2AuthenticationProviderImpl>public List<String> getTlsProtocolBlackList()
getTlsProtocolBlackList in interface OAuth2AuthenticationProvider<OAuth2AuthenticationProviderImpl>public List<String> getTlsCipherSuiteWhiteList()
getTlsCipherSuiteWhiteList in interface OAuth2AuthenticationProvider<OAuth2AuthenticationProviderImpl>public List<String> getTlsCipherSuiteBlackList()
getTlsCipherSuiteBlackList in interface OAuth2AuthenticationProvider<OAuth2AuthenticationProviderImpl>public int getConnectTimeout()
getConnectTimeout in interface OAuth2AuthenticationProvider<OAuth2AuthenticationProviderImpl>public int getReadTimeout()
getReadTimeout in interface OAuth2AuthenticationProvider<OAuth2AuthenticationProviderImpl>public static Collection<String> validIdentityResolvers()
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.