| Modifier and Type | Method and Description |
|---|---|
UserSubject |
OAuthContext.getClientSubject()
Gets the
UserSubject representing the client |
UserSubject |
AccessTokenValidation.getClientSubject() |
UserSubject |
Client.getSubject()
Gets the
UserSubject representing this Client
authentication |
UserSubject |
OAuthContext.getSubject()
Gets the
UserSubject representing the resource owner |
UserSubject |
AccessTokenRegistration.getSubject()
Gets the {@link UserSubject) instance capturing
the information about the end user
|
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.setSubject(UserSubject subject)
Sets the
UserSubject representing this Client
authentication, may be setup during the registration. |
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) |
| Modifier and Type | Method and Description |
|---|---|
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,
String codeVerifier) |
| Modifier and Type | Method and Description |
|---|---|
UserSubject |
ServerAuthorizationCodeGrant.getSubject()
Gets the user subject representing the end user
|
UserSubject |
AuthorizationCodeRegistration.getSubject()
Gets the user subject representing the end user
|
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.MultivaluedMap<String,String> |
JwtRequestCodeFilter.process(javax.ws.rs.core.MultivaluedMap<String,String> params,
UserSubject endUser,
Client client) |
void |
ServerAuthorizationCodeGrant.setSubject(UserSubject subject)
Sets the user subject representing the end user
|
void |
AuthorizationCodeRegistration.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 |
ResourceOwnerLoginHandler.createSubject(String name,
String password) |
UserSubject |
JAASResourceOwnerLoginHandler.createSubject(String name,
String password) |
| Modifier and Type | Method and Description |
|---|---|
UserSubject |
SubjectCreator.createUserSubject(org.apache.cxf.jaxrs.ext.MessageContext mc)
Create a
UserSubject |
| Modifier and Type | Method and Description |
|---|---|
String |
SessionAuthenticityTokenProvider.createSessionToken(org.apache.cxf.jaxrs.ext.MessageContext mc,
javax.ws.rs.core.MultivaluedMap<String,String> params,
UserSubject subject)
Creates a new session token and stores it
|
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 subject,
String grantType) |
String |
SessionAuthenticityTokenProvider.getSessionToken(org.apache.cxf.jaxrs.ext.MessageContext mc,
javax.ws.rs.core.MultivaluedMap<String,String> params,
UserSubject subject)
Retrieves the stored session 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) |
String |
SessionAuthenticityTokenProvider.removeSessionToken(org.apache.cxf.jaxrs.ext.MessageContext mc,
javax.ws.rs.core.MultivaluedMap<String,String> params,
UserSubject subject)
Removes the stored session token
|
| Modifier and Type | Method and Description |
|---|---|
protected UserSubject |
RedirectionBasedGrantService.createUserSubject(org.apache.cxf.security.SecurityContext securityContext) |
| Modifier and Type | Method and Description |
|---|---|
protected OAuthAuthorizationData |
AuthorizationCodeGrantService.createAuthorizationData(Client client,
javax.ws.rs.core.MultivaluedMap<String,String> params,
UserSubject subject,
String redirectUri,
List<OAuthPermission> perms) |
protected OAuthAuthorizationData |
RedirectionBasedGrantService.createAuthorizationData(Client client,
javax.ws.rs.core.MultivaluedMap<String,String> params,
UserSubject subject,
String redirectUri,
List<OAuthPermission> perms)
Create the authorization challenge data
|
protected javax.ws.rs.core.Response |
ImplicitGrantService.createGrant(javax.ws.rs.core.MultivaluedMap<String,String> params,
Client client,
String redirectUri,
List<String> requestedScope,
List<String> approvedScope,
UserSubject userSubject,
ServerAccessToken preAuthorizedToken) |
protected javax.ws.rs.core.Response |
AuthorizationCodeGrantService.createGrant(javax.ws.rs.core.MultivaluedMap<String,String> params,
Client client,
String redirectUri,
List<String> requestedScope,
List<String> approvedScope,
UserSubject userSubject,
ServerAccessToken preauthorizedToken) |
protected abstract javax.ws.rs.core.Response |
RedirectionBasedGrantService.createGrant(javax.ws.rs.core.MultivaluedMap<String,String> params,
Client client,
String redirectUri,
List<String> requestedScope,
List<String> approvedScope,
UserSubject userSubject,
ServerAccessToken preAuthorizedToken) |
protected void |
RedirectionBasedGrantService.personalizeData(OAuthAuthorizationData data,
UserSubject userSubject) |
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) |
| Modifier and Type | Method and Description |
|---|---|
static UserSubject |
OAuthUtils.createSubject(org.apache.cxf.security.SecurityContext securityContext) |
Apache CXF