Interface OAuth2AuthenticationProvider<T extends OAuth2AuthenticationProvider<T>>
-
- All Superinterfaces:
AuthenticationProvider<T>
,CachingAuthenticationProvider<T>
,ConfiguredObject<T>
,ContextProvider
,EventLoggerProvider
,PermissionedObject
,TaskExecutorProvider
- All Known Implementing Classes:
OAuth2AuthenticationProviderImpl
public interface OAuth2AuthenticationProvider<T extends OAuth2AuthenticationProvider<T>> extends CachingAuthenticationProvider<T>
-
-
Field Summary
Fields Modifier and Type Field Description static String
AUTHENTICATION_OAUTH2_CONNECT_TIMEOUT
static String
AUTHENTICATION_OAUTH2_READ_TIMEOUT
static int
DEFAULT_AUTHENTICATION_OAUTH2_CONNECT_TIMEOUT
static int
DEFAULT_AUTHENTICATION_OAUTH2_READ_TIMEOUT
-
Fields inherited from interface org.apache.qpid.server.security.auth.manager.CachingAuthenticationProvider
AUTHENTICATION_CACHE_EXPIRATION_TIME, AUTHENTICATION_CACHE_ITERATION_COUNT, AUTHENTICATION_CACHE_MAX_SIZE, DEFAULT_AUTHENTICATION_CACHE_EXPIRATION_TIME, DEFAULT_AUTHENTICATION_CACHE_ITERATION_COUNT, DEFAULT_AUTHENTICATION_CACHE_MAX_SIZE
-
Fields inherited from interface org.apache.qpid.server.model.ConfiguredObject
AWAIT_ATTAINMENT_TIMEOUT, CONTEXT, CREATED_BY, CREATED_TIME, DEFAULT_AWAIT_ATTAINMENT_TIMEOUT, DESCRIPTION, DESIRED_STATE, DURABLE, ID, LAST_UPDATED_BY, LAST_UPDATED_TIME, LIFETIME_POLICY, NAME, OVER_SIZED_ATTRIBUTE_ALTERNATIVE_TEXT, STATE, TYPE
-
-
Method Summary
-
Methods inherited from interface org.apache.qpid.server.model.AuthenticationProvider
createSaslNegotiator, getAvailableMechanisms, getDisabledMechanisms, getMechanisms
-
Methods inherited from interface org.apache.qpid.server.model.ConfiguredObject
addChangeListener, asObjectRecord, authorise, authorise, authorise, close, closeAsync, createChild, createChildAsync, decryptSecrets, delete, deleteAsync, findConfiguredObject, getActualAttributes, getAttainedChildById, getAttainedChildByName, getAttribute, getAttributeNames, getCategoryClass, getChildById, getChildByName, getChildExecutor, getChildren, getContext, getCreatedBy, getCreatedTime, getDescription, getDesiredState, getId, getLastOpenedTime, getLastUpdatedBy, getLastUpdatedTime, getLifetimePolicy, getModel, getName, getObjectFactory, getParent, getState, getStatistics, getStatistics, getType, getTypeClass, getUserPreferences, hasEncrypter, isDurable, managesChildStorage, newToken, open, openAsync, removeChangeListener, removeContextVariable, setAttributes, setAttributesAsync, setContextVariable, setUserPreferences
-
Methods inherited from interface org.apache.qpid.server.model.ContextProvider
getContextKeys, getContextValue, getContextValue
-
Methods inherited from interface org.apache.qpid.server.logging.EventLoggerProvider
getEventLogger
-
Methods inherited from interface org.apache.qpid.server.model.TaskExecutorProvider
getTaskExecutor
-
-
-
-
Field Detail
-
AUTHENTICATION_OAUTH2_CONNECT_TIMEOUT
static final String AUTHENTICATION_OAUTH2_CONNECT_TIMEOUT
- See Also:
- Constant Field Values
-
DEFAULT_AUTHENTICATION_OAUTH2_CONNECT_TIMEOUT
static final int DEFAULT_AUTHENTICATION_OAUTH2_CONNECT_TIMEOUT
- See Also:
- Constant Field Values
-
AUTHENTICATION_OAUTH2_READ_TIMEOUT
static final String AUTHENTICATION_OAUTH2_READ_TIMEOUT
- See Also:
- Constant Field Values
-
DEFAULT_AUTHENTICATION_OAUTH2_READ_TIMEOUT
static final int DEFAULT_AUTHENTICATION_OAUTH2_READ_TIMEOUT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAuthorizationEndpointURI
URI getAuthorizationEndpointURI()
-
getAuthorizationEndpointURI
URI getAuthorizationEndpointURI(NamedAddressSpace addressSpace)
-
getTokenEndpointURI
URI getTokenEndpointURI()
-
getTokenEndpointURI
URI getTokenEndpointURI(NamedAddressSpace addressSpace)
-
getTokenEndpointNeedsAuth
boolean getTokenEndpointNeedsAuth()
-
getIdentityResolverEndpointURI
URI getIdentityResolverEndpointURI()
-
getIdentityResolverEndpointURI
URI getIdentityResolverEndpointURI(NamedAddressSpace addressSpace)
-
getIdentityResolverType
String getIdentityResolverType()
-
getPostLogoutURI
URI getPostLogoutURI()
-
getClientId
String getClientId()
-
getClientSecret
String getClientSecret()
-
getScope
String getScope()
-
getTrustStore
TrustStore getTrustStore()
-
getSecureOnlyMechanisms
List<String> getSecureOnlyMechanisms()
- Specified by:
getSecureOnlyMechanisms
in interfaceAuthenticationProvider<T extends OAuth2AuthenticationProvider<T>>
-
authenticateViaAuthorizationCode
AuthenticationResult authenticateViaAuthorizationCode(String authorizationCode, String redirectUri, NamedAddressSpace addressSpace)
-
authenticateViaAccessToken
AuthenticationResult authenticateViaAccessToken(String accessToken, NamedAddressSpace addressSpace)
-
getDefaultAuthorizationEndpointURI
URI getDefaultAuthorizationEndpointURI()
-
getDefaultTokenEndpointURI
URI getDefaultTokenEndpointURI()
-
getDefaultIdentityResolverEndpointURI
URI getDefaultIdentityResolverEndpointURI()
-
getDefaultScope
String getDefaultScope()
-
getConnectTimeout
int getConnectTimeout()
-
getReadTimeout
int getReadTimeout()
-
-