Modifier and Type | Method and Description |
---|---|
UserSubject |
OAuthContext.getClientSubject()
Gets the
UserSubject representing the client |
UserSubject |
AccessTokenValidation.getClientSubject() |
UserSubject |
Client.getResourceOwnerSubject()
Get the
UserSubject representing the resource owner
who has registered this client |
UserSubject |
Client.getSubject()
Get the
UserSubject representing this Client
authentication |
UserSubject |
AccessTokenRegistration.getSubject()
Gets the {@link UserSubject) instance capturing
the information about the end user
|
UserSubject |
OAuthContext.getSubject()
Gets the
UserSubject representing the resource owner |
UserSubject |
ServerAccessToken.getSubject()
Returns a subject capturing the login name
the end user used to login to the resource server
when authorizing a given client request
|
UserSubject |
AccessTokenValidation.getTokenSubject() |
Modifier and Type | Method and Description |
---|---|
void |
AccessTokenValidation.setClientSubject(UserSubject clientSubject) |
void |
Client.setResourceOwnerSubject(UserSubject resourceOwnerSubject)
Set the
UserSubject representing the resource owner
who has registered this client. |
void |
Client.setSubject(UserSubject subject)
Set the
UserSubject representing this Client
authentication. |
void |
AccessTokenRegistration.setSubject(UserSubject subject)
Sets the {@link UserSubject) instance capturing
the information about the end user
|
void |
ServerAccessToken.setSubject(UserSubject subject)
Sets a subject capturing the login name
the end user used to login to the resource server
when authorizing a given client request
|
void |
AccessTokenValidation.setTokenSubject(UserSubject tokenSubject) |
Constructor and Description |
---|
OAuthContext(UserSubject resourceOwnerSubject,
UserSubject clientSubject,
List<OAuthPermission> perms,
String tokenGrantType) |
UserSubject(UserSubject sub) |
Modifier and Type | Method and Description |
---|---|
protected ServerAccessToken |
AbstractGrantHandler.doCreateAccessToken(Client client,
UserSubject subject,
List<String> requestedScopes) |
protected ServerAccessToken |
AbstractGrantHandler.doCreateAccessToken(Client client,
UserSubject subject,
List<String> requestedScopes,
List<String> audiences) |
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> requestedScopes) |
protected ServerAccessToken |
AbstractGrantHandler.doCreateAccessToken(Client client,
UserSubject subject,
String requestedGrant,
List<String> requestedScopes,
List<String> audiences) |
protected ServerAccessToken |
AbstractGrantHandler.getPreAuthorizedToken(Client client,
UserSubject subject,
String requestedGrant,
List<String> requestedScopes,
List<String> audiences) |
Modifier and Type | Method and Description |
---|---|
UserSubject |
AuthorizationCodeRegistration.getSubject()
Gets the user subject representing the end user
|
UserSubject |
ServerAuthorizationCodeGrant.getSubject()
Gets the user subject representing the end user
|
Modifier and Type | Method and Description |
---|---|
List<ServerAuthorizationCodeGrant> |
DefaultEHCacheCodeDataProvider.getCodeGrants(Client c,
UserSubject sub) |
List<ServerAuthorizationCodeGrant> |
AuthorizationCodeDataProvider.getCodeGrants(Client c,
UserSubject subject)
Return the list of code grants associated with a given client
|
List<ServerAuthorizationCodeGrant> |
DefaultEncryptingCodeDataProvider.getCodeGrants(Client c,
UserSubject sub) |
javax.ws.rs.core.MultivaluedMap<String,String> |
JwtRequestCodeFilter.process(javax.ws.rs.core.MultivaluedMap<String,String> params,
UserSubject endUser,
Client client) |
void |
AuthorizationCodeRegistration.setSubject(UserSubject subject)
Sets the user subject representing the end user
|
void |
ServerAuthorizationCodeGrant.setSubject(UserSubject subject)
Sets the user subject representing the end user
|
Modifier and Type | Class and Description |
---|---|
class |
JwtUserSubject |
Modifier and Type | Method and Description |
---|---|
UserSubject |
JAASResourceOwnerLoginHandler.createSubject(String name,
String password) |
UserSubject |
ResourceOwnerLoginHandler.createSubject(String name,
String password)
Create a
UserSubject for the name and password parameters, or return null if the name and password
are invalid. |
Modifier and Type | Class and Description |
---|---|
class |
SamlUserSubject |
Modifier and Type | Method and Description |
---|---|
protected UserSubject |
Saml2BearerGrantHandler.getGrantSubject(Message message,
org.apache.wss4j.common.saml.SamlAssertionWrapper wrapper) |
Modifier and Type | Method and Description |
---|---|
UserSubject |
DefaultSubjectCreator.createUserSubject(MessageContext mc,
javax.ws.rs.core.MultivaluedMap<String,String> params) |
UserSubject |
SubjectCreator.createUserSubject(MessageContext mc,
javax.ws.rs.core.MultivaluedMap<String,String> params)
Create a
UserSubject |
Modifier and Type | Method and Description |
---|---|
String |
SessionAuthenticityTokenProvider.createSessionToken(MessageContext mc,
javax.ws.rs.core.MultivaluedMap<String,String> params,
UserSubject subject,
OAuthRedirectionState secData)
Create a new session token and stores it
|
String |
JoseSessionTokenProvider.createSessionToken(MessageContext mc,
javax.ws.rs.core.MultivaluedMap<String,String> params,
UserSubject subject,
OAuthRedirectionState secData) |
List<ServerAccessToken> |
OAuthDataProvider.getAccessTokens(Client client,
UserSubject subject)
Return all access tokens associated with a given client
|
List<ServerAccessToken> |
DefaultEncryptingOAuthDataProvider.getAccessTokens(Client c,
UserSubject sub) |
List<ServerAccessToken> |
DefaultEHCacheOAuthDataProvider.getAccessTokens(Client c,
UserSubject sub) |
List<Client> |
ClientRegistrationProvider.getClients(UserSubject resourceOwner)
Get a list of clients registered by a resource owner.
|
List<Client> |
DefaultEncryptingOAuthDataProvider.getClients(UserSubject resourceOwner) |
List<Client> |
DefaultEHCacheOAuthDataProvider.getClients(UserSubject resourceOwner) |
String |
DefaultResourceOwnerNameProvider.getName(UserSubject subject) |
String |
ResourceOwnerNameProvider.getName(UserSubject subject) |
ServerAccessToken |
OAuthDataProvider.getPreauthorizedToken(Client client,
List<String> requestedScopes,
UserSubject subject,
String grantType)
Get preauthorized access token
|
ServerAccessToken |
AbstractOAuthDataProvider.getPreauthorizedToken(Client client,
List<String> requestedScopes,
UserSubject sub,
String grantType) |
List<RefreshToken> |
OAuthDataProvider.getRefreshTokens(Client client,
UserSubject subject)
Return all refresh tokens associated with a given client
|
List<RefreshToken> |
DefaultEncryptingOAuthDataProvider.getRefreshTokens(Client c,
UserSubject sub) |
List<RefreshToken> |
DefaultEHCacheOAuthDataProvider.getRefreshTokens(Client c,
UserSubject sub) |
OAuthRedirectionState |
SessionAuthenticityTokenProvider.getSessionState(MessageContext messageContext,
String sessionToken,
UserSubject subject)
Expand the session token
|
OAuthRedirectionState |
JoseSessionTokenProvider.getSessionState(MessageContext messageContext,
String sessionToken,
UserSubject subject) |
String |
SessionAuthenticityTokenProvider.getSessionToken(MessageContext mc,
javax.ws.rs.core.MultivaluedMap<String,String> params,
UserSubject subject)
Retrieve the stored session token
|
String |
JoseSessionTokenProvider.getSessionToken(MessageContext mc,
javax.ws.rs.core.MultivaluedMap<String,String> params,
UserSubject subject) |
protected static boolean |
DefaultEncryptingOAuthDataProvider.isTokenMatched(ServerAccessToken token,
Client c,
UserSubject sub) |
protected static boolean |
DefaultEHCacheOAuthDataProvider.isTokenMatched(ServerAccessToken token,
Client c,
UserSubject sub) |
String |
AuthorizationCodeResponseFilter.process(Client client,
String code,
UserSubject endUser) |
javax.ws.rs.core.MultivaluedMap<String,String> |
AuthorizationRequestFilter.process(javax.ws.rs.core.MultivaluedMap<String,String> params,
UserSubject endUser,
Client client) |
String |
SessionAuthenticityTokenProvider.removeSessionToken(MessageContext mc,
javax.ws.rs.core.MultivaluedMap<String,String> params,
UserSubject subject)
Remove the stored session token
|
String |
JoseSessionTokenProvider.removeSessionToken(MessageContext mc,
javax.ws.rs.core.MultivaluedMap<String,String> params,
UserSubject subject) |
Modifier and Type | Method and Description |
---|---|
protected UserSubject |
RedirectionBasedGrantService.createUserSubject(SecurityContext securityContext,
javax.ws.rs.core.MultivaluedMap<String,String> params) |
protected UserSubject |
DirectAuthorizationService.createUserSubject(SecurityContext securityContext,
javax.ws.rs.core.MultivaluedMap<String,String> params) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
RedirectionBasedGrantService.canAuthorizationBeSkipped(Client client,
UserSubject userSubject,
List<String> requestedScope,
List<OAuthPermission> permissions) |
protected OAuthAuthorizationData |
AuthorizationCodeGrantService.createAuthorizationData(Client client,
javax.ws.rs.core.MultivaluedMap<String,String> params,
String redirectUri,
UserSubject subject,
List<OAuthPermission> requestedPerms,
List<OAuthPermission> alreadyAuthorizedPerms,
boolean authorizationCanBeSkipped) |
protected OAuthAuthorizationData |
ImplicitGrantService.createAuthorizationData(Client client,
javax.ws.rs.core.MultivaluedMap<String,String> params,
String redirectUri,
UserSubject subject,
List<OAuthPermission> requestedPerms,
List<OAuthPermission> alreadyAuthorizedPerms,
boolean authorizationCanBeSkipped) |
protected OAuthAuthorizationData |
RedirectionBasedGrantService.createAuthorizationData(Client client,
javax.ws.rs.core.MultivaluedMap<String,String> params,
String redirectUri,
UserSubject subject,
List<OAuthPermission> requestedPerms,
List<OAuthPermission> alreadyAuthorizedPerms,
boolean authorizationCanBeSkipped)
Create the authorization challenge data
|
protected AuthorizationCodeRegistration |
AuthorizationCodeGrantService.createCodeRegistration(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 javax.ws.rs.core.Response |
AbstractImplicitGrantService.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 AccessTokenRegistration |
AbstractImplicitGrantService.createTokenRegistration(OAuthRedirectionState state,
Client client,
List<String> requestedScope,
List<String> approvedScope,
UserSubject userSubject) |
String |
AuthorizationCodeGrantService.getGrantCode(OAuthRedirectionState state,
Client client,
List<String> requestedScope,
List<String> approvedScope,
UserSubject userSubject,
ServerAccessToken preauthorizedToken) |
protected ServerAuthorizationCodeGrant |
AuthorizationCodeGrantService.getGrantRepresentation(OAuthRedirectionState state,
Client client,
List<String> requestedScope,
List<String> approvedScope,
UserSubject userSubject,
ServerAccessToken preauthorizedToken) |
protected void |
RedirectionBasedGrantService.personalizeData(OAuthAuthorizationData data,
UserSubject userSubject) |
protected StringBuilder |
AbstractImplicitGrantService.prepareGrant(OAuthRedirectionState state,
Client client,
List<String> requestedScope,
List<String> approvedScope,
UserSubject userSubject,
ServerAccessToken preAuthorizedToken) |
protected String |
AuthorizationCodeGrantService.processCodeGrant(Client client,
String code,
UserSubject endUser) |
protected OAuthRedirectionState |
RedirectionBasedGrantService.recreateRedirectionStateFromSession(UserSubject subject,
String sessionToken) |
protected javax.ws.rs.core.Response |
RedirectionBasedGrantService.startAuthorization(javax.ws.rs.core.MultivaluedMap<String,String> params,
UserSubject userSubject,
Client client) |
Modifier and Type | Method and Description |
---|---|
static UserSubject |
OAuthUtils.createSubject(MessageContext mc,
SecurityContext sc) |
static UserSubject |
OAuthUtils.createSubject(SecurityContext securityContext) |
Modifier and Type | Class and Description |
---|---|
class |
OidcUserSubject |
Modifier and Type | Method and Description |
---|---|
protected boolean |
OidcImplicitService.canAuthorizationBeSkipped(Client client,
UserSubject userSubject,
List<String> requestedScope,
List<OAuthPermission> permissions) |
protected boolean |
OidcAuthorizationCodeService.canAuthorizationBeSkipped(Client client,
UserSubject userSubject,
List<String> requestedScope,
List<OAuthPermission> permissions) |
protected AuthorizationCodeRegistration |
OidcAuthorizationCodeService.createCodeRegistration(OAuthRedirectionState state,
Client client,
List<String> requestedScope,
List<String> approvedScope,
UserSubject userSubject,
ServerAccessToken preauthorizedToken) |
protected AccessTokenRegistration |
OidcImplicitService.createTokenRegistration(OAuthRedirectionState state,
Client client,
List<String> requestedScope,
List<String> approvedScope,
UserSubject userSubject) |
IdToken |
IdTokenProvider.getIdToken(String clientId,
UserSubject authenticatedUser,
List<String> scopes) |
UserInfo |
UserInfoProvider.getUserInfo(String clientId,
UserSubject authenticatedUser,
List<String> scopes) |
protected StringBuilder |
OidcImplicitService.prepareGrant(OAuthRedirectionState state,
Client client,
List<String> requestedScope,
List<String> approvedScope,
UserSubject userSubject,
ServerAccessToken preAuthorizedToken) |
protected StringBuilder |
OidcHybridService.prepareGrant(OAuthRedirectionState state,
Client client,
List<String> requestedScope,
List<String> approvedScope,
UserSubject userSubject,
ServerAccessToken preAuthorizedToken) |
protected javax.ws.rs.core.Response |
OidcImplicitService.startAuthorization(javax.ws.rs.core.MultivaluedMap<String,String> params,
UserSubject userSubject,
Client client) |
Constructor and Description |
---|
OidcUserSubject(UserSubject sub) |
Apache CXF