Modifier and Type | Method and Description |
---|---|
Client |
AccessTokenRegistration.getClient()
Returns the
Client instance |
Client |
ServerAccessToken.getClient()
Returns the Client associated with this token
|
Modifier and Type | Method and Description |
---|---|
void |
AccessTokenRegistration.setClient(Client client)
Sets the
Client instance |
void |
ServerAccessToken.setClient(Client c) |
Constructor and Description |
---|
ServerAccessToken(Client client,
String tokenType,
String tokenKey,
long expiresIn) |
ServerAccessToken(Client client,
String tokenType,
String tokenKey,
long expiresIn,
long issuedAt) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractGrantHandler.checkIfGrantSupported(Client client)
Deprecated.
|
protected ServerAccessToken |
AbstractGrantHandler.doCreateAccessToken(Client client,
UserSubject subject,
List<String> requestedScope) |
protected ServerAccessToken |
AbstractGrantHandler.doCreateAccessToken(Client client,
UserSubject subject,
List<String> requestedScope,
List<String> approvedScope,
String audience) |
protected ServerAccessToken |
AbstractGrantHandler.doCreateAccessToken(Client client,
UserSubject subject,
javax.ws.rs.core.MultivaluedMap<String,String> params) |
protected ServerAccessToken |
AbstractGrantHandler.doCreateAccessToken(Client client,
UserSubject subject,
String requestedGrant,
List<String> requestedScope) |
protected ServerAccessToken |
AbstractGrantHandler.doCreateAccessToken(Client client,
UserSubject subject,
String requestedGrant,
List<String> requestedScope,
List<String> approvedScope,
String audience) |
Modifier and Type | Method and Description |
---|---|
ServerAccessToken |
ClientCredentialsGrantHandler.createAccessToken(Client client,
javax.ws.rs.core.MultivaluedMap<String,String> params) |
Modifier and Type | Method and Description |
---|---|
Client |
AuthorizationCodeRegistration.getClient()
Gets
Client reference |
Client |
ServerAuthorizationCodeGrant.getClient()
Returns the reference to
Client |
Modifier and Type | Method and Description |
---|---|
ServerAccessToken |
AuthorizationCodeGrantHandler.createAccessToken(Client client,
javax.ws.rs.core.MultivaluedMap<String,String> params) |
protected JweDecryptionProvider |
JwtRequestCodeFilter.getInitializedDecryptionProvider(Client c) |
protected JwsSignatureVerifier |
JwtRequestCodeFilter.getInitializedSigVerifier(Client c) |
javax.ws.rs.core.MultivaluedMap<String,String> |
JwtRequestCodeFilter.process(javax.ws.rs.core.MultivaluedMap<String,String> params,
UserSubject endUser,
Client client) |
void |
AuthorizationCodeRegistration.setClient(Client client)
Sets the
Client reference |
void |
ServerAuthorizationCodeGrant.setClient(Client c) |
Constructor and Description |
---|
ServerAuthorizationCodeGrant(Client client,
long lifetime) |
ServerAuthorizationCodeGrant(Client client,
String code,
long expiresIn,
long issuedAt) |
Modifier and Type | Method and Description |
---|---|
ServerAccessToken |
JwtBearerGrantHandler.createAccessToken(Client client,
javax.ws.rs.core.MultivaluedMap<String,String> params) |
protected void |
AbstractJwtHandler.validateAudience(Client client,
String audience) |
protected void |
AbstractJwtHandler.validateClaims(Client client,
JwtClaims claims) |
protected void |
AbstractJwtHandler.validateSubject(Client client,
String subject) |
Modifier and Type | Method and Description |
---|---|
ServerAccessToken |
ResourceOwnerGrantHandler.createAccessToken(Client client,
javax.ws.rs.core.MultivaluedMap<String,String> params) |
Modifier and Type | Method and Description |
---|---|
ServerAccessToken |
RefreshTokenGrantHandler.createAccessToken(Client client,
javax.ws.rs.core.MultivaluedMap<String,String> params) |
Modifier and Type | Method and Description |
---|---|
ServerAccessToken |
Saml2BearerGrantHandler.createAccessToken(Client client,
javax.ws.rs.core.MultivaluedMap<String,String> params) |
Modifier and Type | Method and Description |
---|---|
Client |
ClientRegistrationProvider.getClient(String clientId) |
Client |
DefaultEHCacheOAuthDataProvider.getClient(String clientId) |
Client |
DefaultEncryptingOAuthDataProvider.getClient(String clientId) |
Client |
OAuthDataProvider.getClient(String clientId)
Returns the previously registered third-party
Client |
Client |
ClientRegistrationProvider.removeClient(String clientId) |
Client |
DefaultEHCacheOAuthDataProvider.removeClient(String clientId) |
Client |
DefaultEncryptingOAuthDataProvider.removeClient(String clientId) |
Modifier and Type | Method and Description |
---|---|
List<Client> |
ClientRegistrationProvider.getClients() |
List<Client> |
DefaultEHCacheOAuthDataProvider.getClients() |
List<Client> |
DefaultEncryptingOAuthDataProvider.getClients() |
Modifier and Type | Method and Description |
---|---|
List<OAuthPermission> |
AbstractOAuthDataProvider.convertScopeToPermissions(Client client,
List<String> requestedScope) |
List<OAuthPermission> |
OAuthDataProvider.convertScopeToPermissions(Client client,
List<String> requestedScope)
Converts the requested scope to the list of permissions
|
ServerAccessToken |
AccessTokenGrantHandler.createAccessToken(Client client,
javax.ws.rs.core.MultivaluedMap<String,String> params) |
protected ServerAccessToken |
AbstractOAuthDataProvider.createNewAccessToken(Client client) |
protected ServerAccessToken |
AbstractOAuthDataProvider.doRefreshAccessToken(Client client,
RefreshToken oldRefreshToken,
List<String> requestedScopes) |
ServerAccessToken |
AbstractOAuthDataProvider.getPreauthorizedToken(Client client,
List<String> requestedScopes,
UserSubject subject,
String grantType) |
ServerAccessToken |
OAuthDataProvider.getPreauthorizedToken(Client client,
List<String> requestedScopes,
UserSubject subject,
String grantType)
Get preauthorized access token
|
String |
AuthorizationCodeResponseFilter.process(Client client,
String code,
UserSubject endUser) |
javax.ws.rs.core.MultivaluedMap<String,String> |
AuthorizationCodeRequestFilter.process(javax.ws.rs.core.MultivaluedMap<String,String> params,
UserSubject endUser,
Client client) |
ServerAccessToken |
AbstractOAuthDataProvider.refreshAccessToken(Client client,
String refreshTokenKey,
List<String> requestedScopes) |
ServerAccessToken |
OAuthDataProvider.refreshAccessToken(Client client,
String refreshToken,
List<String> requestedScopes)
Refresh access token
|
protected abstract RefreshToken |
AbstractOAuthDataProvider.revokeRefreshToken(Client client,
String refreshTokenKey) |
protected RefreshToken |
DefaultEHCacheOAuthDataProvider.revokeRefreshToken(Client client,
String refreshTokenKey) |
protected RefreshToken |
DefaultEncryptingOAuthDataProvider.revokeRefreshToken(Client client,
String refreshTokenKey) |
void |
AbstractOAuthDataProvider.revokeToken(Client client,
String tokenKey,
String tokenTypeHint) |
void |
OAuthDataProvider.revokeToken(Client client,
String token,
String tokenTypeHint)
Revokes a refresh or access token
|
void |
ClientRegistrationProvider.setClient(Client client) |
void |
DefaultEHCacheOAuthDataProvider.setClient(Client client) |
void |
DefaultEncryptingOAuthDataProvider.setClient(Client client) |
boolean |
ClientSecretHashVerifier.validateClientSecret(Client client,
String clientSecret) |
boolean |
ClientSecretVerifier.validateClientSecret(Client client,
String clientSecret)
Validate a client secret
|
Modifier and Type | Method and Description |
---|---|
protected Client |
AbstractTokenService.authenticateClientIfNeeded(javax.ws.rs.core.MultivaluedMap<String,String> params)
Make sure the client is authenticated
|
protected Client |
AbstractTokenService.getAndValidateClientFromIdAndSecret(String clientId,
String providedClientSecret) |
protected Client |
DirectAuthorizationService.getClient(javax.ws.rs.core.MultivaluedMap<String,String> params) |
protected Client |
RedirectionBasedGrantService.getClient(javax.ws.rs.core.MultivaluedMap<String,String> params) |
protected Client |
AbstractTokenService.getClient(String clientId)
Get the
Client reference |
protected Client |
DirectAuthorizationService.getClient(String clientId) |
protected Client |
RedirectionBasedGrantService.getClient(String clientId)
Get the
Client reference |
protected Client |
AbstractTokenService.getClientFromBasicAuthScheme() |
protected Client |
AbstractTokenService.getClientFromTLSCertificates(javax.ws.rs.core.SecurityContext sc,
TLSSessionInfo tlsSessionInfo) |
protected Client |
AbstractOAuthService.getValidClient(javax.ws.rs.core.MultivaluedMap<String,String> params) |
protected Client |
AbstractOAuthService.getValidClient(String clientId)
Get the
Client reference |
Modifier and Type | Method and Description |
---|---|
protected boolean |
AbstractImplicitGrantService.canRedirectUriBeEmpty(Client c) |
protected boolean |
AuthorizationCodeGrantService.canRedirectUriBeEmpty(Client c) |
protected abstract boolean |
RedirectionBasedGrantService.canRedirectUriBeEmpty(Client c) |
protected boolean |
AbstractImplicitGrantService.canSupportPublicClient(Client c) |
protected boolean |
AuthorizationCodeGrantService.canSupportPublicClient(Client c) |
protected boolean |
ImplicitConfidentialGrantService.canSupportPublicClient(Client c) |
protected abstract boolean |
RedirectionBasedGrantService.canSupportPublicClient(Client c) |
protected OAuthAuthorizationData |
AuthorizationCodeGrantService.createAuthorizationData(Client client,
javax.ws.rs.core.MultivaluedMap<String,String> params,
String redirectUri,
UserSubject subject,
List<OAuthPermission> perms,
boolean preAuthorizedTokenAvailable) |
protected OAuthAuthorizationData |
RedirectionBasedGrantService.createAuthorizationData(Client client,
javax.ws.rs.core.MultivaluedMap<String,String> params,
String redirectUri,
UserSubject subject,
List<OAuthPermission> perms,
boolean preAuthorizedTokenAvailable)
Create the authorization challenge data
|
protected javax.ws.rs.core.Response |
AbstractImplicitGrantService.createGrant(OAuthRedirectionState state,
Client client,
List<String> requestedScope,
List<String> approvedScope,
UserSubject userSubject,
ServerAccessToken preAuthorizedToken) |
protected javax.ws.rs.core.Response |
AuthorizationCodeGrantService.createGrant(OAuthRedirectionState state,
Client client,
List<String> requestedScope,
List<String> approvedScope,
UserSubject userSubject,
ServerAccessToken preauthorizedToken) |
protected abstract javax.ws.rs.core.Response |
RedirectionBasedGrantService.createGrant(OAuthRedirectionState state,
Client client,
List<String> requestedScope,
List<String> approvedScope,
UserSubject userSubject,
ServerAccessToken preAuthorizedToken) |
protected boolean |
AbstractTokenService.isConfidenatialClientSecretValid(Client client,
String providedClientSecret) |
protected boolean |
AbstractTokenService.isValidPublicClient(Client client,
String clientId,
String clientSecret) |
protected String |
AuthorizationCodeGrantService.processCodeGrant(Client client,
String code,
UserSubject endUser) |
protected javax.ws.rs.core.Response |
AuthorizationCodeGrantService.startAuthorization(javax.ws.rs.core.MultivaluedMap<String,String> params,
UserSubject userSubject,
Client client) |
protected javax.ws.rs.core.Response |
RedirectionBasedGrantService.startAuthorization(javax.ws.rs.core.MultivaluedMap<String,String> params,
UserSubject userSubject,
Client client) |
protected String |
RedirectionBasedGrantService.validateRedirectUri(Client client,
String redirectUri) |
Constructor and Description |
---|
BearerAccessToken(Client client,
long lifetime) |
BearerAccessToken(Client client,
String tokenKey,
long lifetime,
long issuedAt) |
Constructor and Description |
---|
HawkAccessToken(Client client,
HmacAlgorithm macAlgo,
long lifetime) |
HawkAccessToken(Client client,
HmacAlgorithm algo,
String tokenKey,
long lifetime,
long issuedAt) |
HawkAccessToken(Client client,
HmacAlgorithm algo,
String tokenKey,
String macKey,
long lifetime,
long issuedAt) |
HawkAccessToken(Client client,
long lifetime) |
HawkAccessToken(Client client,
String macAuthAlgo,
long lifetime) |
Modifier and Type | Method and Description |
---|---|
static ServerAccessToken |
JwtAccessTokenUtils.encryptToAccessToken(JwtToken jwt,
Client client,
JweEncryptionProvider jweEncryption) |
static ServerAccessToken |
JwtAccessTokenUtils.encryptToAccessToken(JwtToken jwt,
Client client,
SecretKey key) |
static ServerAccessToken |
JwtAccessTokenUtils.signToAccessToken(JwtToken jwt,
Client client,
JwsSignatureProvider jws) |
static ServerAccessToken |
JwtAccessTokenUtils.signToAccessToken(JwtToken jwt,
Client client,
RSAPrivateKey key) |
static void |
JwtAccessTokenUtils.validateJwtClaims(JwtClaims claims,
Client c) |
Constructor and Description |
---|
RefreshToken(Client client,
long lifetime) |
RefreshToken(Client client,
String tokenKey,
long lifetime,
long issuedAt) |
Modifier and Type | Method and Description |
---|---|
static List<String> |
OAuthUtils.getRequestedScopes(Client client,
String scopeParameter,
boolean partialMatchScopeValidation) |
static boolean |
OAuthUtils.isGrantSupportedForClient(Client client,
boolean canSupportPublicClients,
String grantType) |
Modifier and Type | Method and Description |
---|---|
static Client |
ModelEncryptionSupport.decryptClient(String encodedSequence,
Key secretKey) |
static Client |
ModelEncryptionSupport.decryptClient(String encodedData,
Key secretKey,
KeyProperties props) |
static Client |
ModelEncryptionSupport.decryptClient(String encodedSequence,
String encodedSecretKey) |
static Client |
ModelEncryptionSupport.decryptClient(String encodedSequence,
String encodedSecretKey,
KeyProperties props) |
static Client |
ModelEncryptionSupport.recreateClient(String sequence) |
Modifier and Type | Method and Description |
---|---|
static String |
ModelEncryptionSupport.encryptClient(Client client,
Key secretKey) |
static String |
ModelEncryptionSupport.encryptClient(Client client,
Key secretKey,
KeyProperties props) |
Modifier and Type | Method and Description |
---|---|
protected JweEncryptionProvider |
AbstractJwsJweProducer.getInitializedEncryptionProvider(Client c,
boolean required) |
protected JwsSignatureProvider |
AbstractJwsJweProducer.getInitializedSigProvider(Client c,
boolean required) |
Apache CXF