Uses of Class
org.apache.cxf.rs.security.oauth2.common.UserSubject
-
-
Uses of UserSubject in org.apache.cxf.rs.security.oauth2.common
Methods in org.apache.cxf.rs.security.oauth2.common that return UserSubject Modifier and Type Method Description UserSubjectAccessTokenValidation. getClientSubject()UserSubjectOAuthContext. getClientSubject()Gets theUserSubjectrepresenting the clientUserSubjectClient. getResourceOwnerSubject()Get theUserSubjectrepresenting the resource owner who has registered this clientUserSubjectAccessTokenRegistration. getSubject()Gets the {@link UserSubject) instance capturing the information about the end userUserSubjectClient. getSubject()Get theUserSubjectrepresenting this Client authenticationUserSubjectOAuthContext. getSubject()Gets theUserSubjectrepresenting the resource ownerUserSubjectServerAccessToken. getSubject()Returns a subject capturing the login name the end user used to login to the resource server when authorizing a given client requestUserSubjectAccessTokenValidation. getTokenSubject()Methods in org.apache.cxf.rs.security.oauth2.common with parameters of type UserSubject Modifier and Type Method Description voidAccessTokenValidation. setClientSubject(UserSubject clientSubject)voidClient. setResourceOwnerSubject(UserSubject resourceOwnerSubject)Set theUserSubjectrepresenting the resource owner who has registered this client.voidAccessTokenRegistration. setSubject(UserSubject subject)Sets the {@link UserSubject) instance capturing the information about the end uservoidClient. setSubject(UserSubject subject)Set theUserSubjectrepresenting this Client authentication.voidServerAccessToken. 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 requestvoidAccessTokenValidation. setTokenSubject(UserSubject tokenSubject)Constructors in org.apache.cxf.rs.security.oauth2.common with parameters of type UserSubject Constructor Description OAuthContext(UserSubject resourceOwnerSubject, UserSubject clientSubject, List<OAuthPermission> perms, String tokenGrantType)UserSubject(UserSubject sub) -
Uses of UserSubject in org.apache.cxf.rs.security.oauth2.grants
Methods in org.apache.cxf.rs.security.oauth2.grants with parameters of type UserSubject Modifier and Type Method Description protected ServerAccessTokenAbstractGrantHandler. doCreateAccessToken(Client client, UserSubject subject, String requestedGrant, List<String> requestedScopes)protected ServerAccessTokenAbstractGrantHandler. doCreateAccessToken(Client client, UserSubject subject, String requestedGrant, List<String> requestedScopes, List<String> audiences)protected ServerAccessTokenAbstractGrantHandler. doCreateAccessToken(Client client, UserSubject subject, List<String> requestedScopes)protected ServerAccessTokenAbstractGrantHandler. doCreateAccessToken(Client client, UserSubject subject, List<String> requestedScopes, List<String> audiences)protected ServerAccessTokenAbstractGrantHandler. doCreateAccessToken(Client client, UserSubject subject, javax.ws.rs.core.MultivaluedMap<String,String> params)protected List<String>AbstractGrantHandler. getApprovedScopes(Client client, UserSubject subject, List<String> requestedScopes)protected ServerAccessTokenAbstractGrantHandler. getPreAuthorizedToken(Client client, UserSubject subject, String requestedGrant, List<String> requestedScopes, List<String> audiences) -
Uses of UserSubject in org.apache.cxf.rs.security.oauth2.grants.code
Methods in org.apache.cxf.rs.security.oauth2.grants.code that return UserSubject Modifier and Type Method Description UserSubjectAuthorizationCodeRegistration. getSubject()Gets the user subject representing the end userUserSubjectServerAuthorizationCodeGrant. getSubject()Gets the user subject representing the end userMethods in org.apache.cxf.rs.security.oauth2.grants.code with parameters of type UserSubject Modifier and Type Method Description List<ServerAuthorizationCodeGrant>AuthorizationCodeDataProvider. getCodeGrants(Client client, UserSubject subject)Return the list of code grants associated with a given clientList<ServerAuthorizationCodeGrant>DefaultEncryptingCodeDataProvider. getCodeGrants(Client c, UserSubject sub)List<ServerAuthorizationCodeGrant>JCacheCodeDataProvider. getCodeGrants(Client c, UserSubject sub)List<ServerAuthorizationCodeGrant>JPACodeDataProvider. getCodeGrants(Client c, UserSubject subject)protected javax.persistence.TypedQuery<ServerAuthorizationCodeGrant>JPACodeDataProvider. getCodesQuery(Client c, UserSubject resourceOwnerSubject, javax.persistence.EntityManager em)static booleanAbstractCodeDataProvider. isCodeMatched(ServerAuthorizationCodeGrant grant, 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)voidAuthorizationCodeRegistration. setSubject(UserSubject subject)Sets the user subject representing the end uservoidServerAuthorizationCodeGrant. setSubject(UserSubject subject)Sets the user subject representing the end user -
Uses of UserSubject in org.apache.cxf.rs.security.oauth2.grants.jwt
Subclasses of UserSubject in org.apache.cxf.rs.security.oauth2.grants.jwt Modifier and Type Class Description classJwtUserSubject -
Uses of UserSubject in org.apache.cxf.rs.security.oauth2.grants.owner
Methods in org.apache.cxf.rs.security.oauth2.grants.owner that return UserSubject Modifier and Type Method Description UserSubjectJAASResourceOwnerLoginHandler. createSubject(Client client, String name, String password)UserSubjectResourceOwnerLoginHandler. createSubject(Client client, String name, String password)Create aUserSubjectfor the name and password parameters, or return null if the name and password are invalid. -
Uses of UserSubject in org.apache.cxf.rs.security.oauth2.grants.saml
Subclasses of UserSubject in org.apache.cxf.rs.security.oauth2.grants.saml Modifier and Type Class Description classSamlUserSubjectMethods in org.apache.cxf.rs.security.oauth2.grants.saml that return UserSubject Modifier and Type Method Description protected UserSubjectSaml2BearerGrantHandler. getGrantSubject(Message message, org.apache.wss4j.common.saml.SamlAssertionWrapper wrapper) -
Uses of UserSubject in org.apache.cxf.rs.security.oauth2.provider
Methods in org.apache.cxf.rs.security.oauth2.provider that return UserSubject Modifier and Type Method Description UserSubjectDefaultSubjectCreator. createUserSubject(MessageContext mc, javax.ws.rs.core.MultivaluedMap<String,String> params)UserSubjectSubjectCreator. createUserSubject(MessageContext mc, javax.ws.rs.core.MultivaluedMap<String,String> params)Create aUserSubjectMethods in org.apache.cxf.rs.security.oauth2.provider with parameters of type UserSubject Modifier and Type Method Description protected ServerAccessTokenAbstractOAuthDataProvider. createNewAccessToken(Client client, UserSubject userSub)StringJoseSessionTokenProvider. createSessionToken(MessageContext mc, javax.ws.rs.core.MultivaluedMap<String,String> params, UserSubject subject, OAuthRedirectionState secData)StringSessionAuthenticityTokenProvider. createSessionToken(MessageContext mc, javax.ws.rs.core.MultivaluedMap<String,String> params, UserSubject subject, OAuthRedirectionState secData)Create a new session token and stores itprotected ServerAccessTokenAbstractOAuthDataProvider. doCreateAccessToken(List<String> audiences, Client client, String clientCodeVerifier, Map<String,String> extraProperties, String grantCode, String grantType, String nonce, String responseType, List<OAuthPermission> scopes, UserSubject userSubject)List<ServerAccessToken>DefaultEncryptingOAuthDataProvider. getAccessTokens(Client c, UserSubject sub)List<ServerAccessToken>JCacheOAuthDataProvider. getAccessTokens(Client c, UserSubject sub)List<ServerAccessToken>JPAOAuthDataProvider. getAccessTokens(Client c, UserSubject sub)List<ServerAccessToken>OAuthDataProvider. getAccessTokens(Client client, UserSubject subject)Return all access tokens associated with a given clientList<Client>ClientRegistrationProvider. getClients(UserSubject resourceOwner)Get a list of clients registered by a resource owner.List<Client>DefaultEncryptingOAuthDataProvider. getClients(UserSubject resourceOwner)List<Client>JCacheOAuthDataProvider. getClients(UserSubject resourceOwner)List<Client>JPAOAuthDataProvider. getClients(UserSubject resourceOwner)protected javax.persistence.TypedQuery<Client>JPAOAuthDataProvider. getClientsQuery(UserSubject resourceOwnerSubject, javax.persistence.EntityManager entityManager)protected List<ServerAccessToken>JCacheOAuthDataProvider. getJwtAccessTokens(Client client, UserSubject sub)StringDefaultResourceOwnerNameProvider. getName(UserSubject subject)StringResourceOwnerNameProvider. getName(UserSubject subject)ServerAccessTokenAbstractOAuthDataProvider. getPreauthorizedToken(Client client, List<String> requestedScopes, UserSubject sub, String grantType)ServerAccessTokenOAuthDataProvider. getPreauthorizedToken(Client client, List<String> requestedScopes, UserSubject subject, String grantType)Get preauthorized access tokenList<RefreshToken>DefaultEncryptingOAuthDataProvider. getRefreshTokens(Client c, UserSubject sub)List<RefreshToken>JCacheOAuthDataProvider. getRefreshTokens(Client c, UserSubject sub)List<RefreshToken>JPAOAuthDataProvider. getRefreshTokens(Client c, UserSubject sub)List<RefreshToken>OAuthDataProvider. getRefreshTokens(Client client, UserSubject subject)Return all refresh tokens associated with a given clientprotected javax.persistence.TypedQuery<RefreshToken>JPAOAuthDataProvider. getRefreshTokensQuery(Client c, UserSubject resourceOwnerSubject, javax.persistence.EntityManager entityManager)OAuthRedirectionStateJoseSessionTokenProvider. getSessionState(MessageContext messageContext, String sessionToken, UserSubject subject)OAuthRedirectionStateSessionAuthenticityTokenProvider. getSessionState(MessageContext messageContext, String sessionToken, UserSubject subject)Expand the session tokenStringJoseSessionTokenProvider. getSessionToken(MessageContext mc, javax.ws.rs.core.MultivaluedMap<String,String> params, UserSubject subject)StringSessionAuthenticityTokenProvider. getSessionToken(MessageContext mc, javax.ws.rs.core.MultivaluedMap<String,String> params, UserSubject subject)Retrieve the stored session tokenprotected static <K,V extends ServerAccessToken>
List<V>JCacheOAuthDataProvider. getTokens(javax.cache.Cache<K,V> cache, Client client, UserSubject sub)protected javax.persistence.TypedQuery<BearerAccessToken>JPAOAuthDataProvider. getTokensQuery(Client c, UserSubject resourceOwnerSubject, javax.persistence.EntityManager entityManager)protected static booleanAbstractOAuthDataProvider. isClientMatched(Client c, UserSubject resourceOwner)protected static booleanAbstractOAuthDataProvider. isTokenMatched(ServerAccessToken token, Client c, UserSubject sub)StringAuthorizationCodeResponseFilter. 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)StringJoseSessionTokenProvider. removeSessionToken(MessageContext mc, javax.ws.rs.core.MultivaluedMap<String,String> params, UserSubject subject)StringSessionAuthenticityTokenProvider. removeSessionToken(MessageContext mc, javax.ws.rs.core.MultivaluedMap<String,String> params, UserSubject subject)Remove the stored session token -
Uses of UserSubject in org.apache.cxf.rs.security.oauth2.services
Methods in org.apache.cxf.rs.security.oauth2.services that return UserSubject Modifier and Type Method Description protected UserSubjectDirectAuthorizationService. createUserSubject(SecurityContext securityContext, javax.ws.rs.core.MultivaluedMap<String,String> params)protected UserSubjectRedirectionBasedGrantService. createUserSubject(SecurityContext securityContext, javax.ws.rs.core.MultivaluedMap<String,String> params)Methods in org.apache.cxf.rs.security.oauth2.services with parameters of type UserSubject Modifier and Type Method Description protected booleanRedirectionBasedGrantService. canAuthorizationBeSkipped(javax.ws.rs.core.MultivaluedMap<String,String> params, Client client, UserSubject userSubject, List<String> requestedScope, List<OAuthPermission> permissions)protected OAuthAuthorizationDataImplicitGrantService. createAuthorizationData(Client client, javax.ws.rs.core.MultivaluedMap<String,String> params, String redirectUri, UserSubject subject, List<OAuthPermission> requestedPerms, List<OAuthPermission> alreadyAuthorizedPerms, boolean authorizationCanBeSkipped)protected OAuthAuthorizationDataRedirectionBasedGrantService. 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 dataprotected AuthorizationCodeRegistrationAuthorizationCodeGrantService. createCodeRegistration(OAuthRedirectionState state, Client client, List<String> requestedScope, List<String> approvedScope, UserSubject userSubject, ServerAccessToken preauthorizedToken)protected javax.ws.rs.core.ResponseAbstractImplicitGrantService. createGrant(OAuthRedirectionState state, Client client, List<String> requestedScope, List<String> approvedScope, UserSubject userSubject, ServerAccessToken preAuthorizedToken)protected javax.ws.rs.core.ResponseAuthorizationCodeGrantService. createGrant(OAuthRedirectionState state, Client client, List<String> requestedScope, List<String> approvedScope, UserSubject userSubject, ServerAccessToken preauthorizedToken)protected abstract javax.ws.rs.core.ResponseRedirectionBasedGrantService. createGrant(OAuthRedirectionState state, Client client, List<String> requestedScope, List<String> approvedScope, UserSubject userSubject, ServerAccessToken preAuthorizedToken)protected AccessTokenRegistrationAbstractImplicitGrantService. createTokenRegistration(OAuthRedirectionState state, Client client, List<String> requestedScope, List<String> approvedScope, UserSubject userSubject)protected ClientAccessTokenAbstractImplicitGrantService. getClientAccessToken(OAuthRedirectionState state, Client client, List<String> requestedScope, List<String> approvedScope, UserSubject userSubject, ServerAccessToken preAuthorizedToken)ServerAuthorizationCodeGrantAuthorizationCodeGrantService. getGrantRepresentation(OAuthRedirectionState state, Client client, List<String> requestedScope, List<String> approvedScope, UserSubject userSubject, ServerAccessToken preauthorizedToken)protected booleanRedirectionBasedGrantService. noConsentForRequestedScopes(javax.ws.rs.core.MultivaluedMap<String,String> params, Client client, UserSubject userSubject, List<String> requestedScope, List<OAuthPermission> permissions)protected voidRedirectionBasedGrantService. personalizeData(OAuthAuthorizationData data, UserSubject userSubject)protected AbstractFormImplicitResponseAbstractImplicitGrantService. prepareFormResponse(OAuthRedirectionState state, Client client, List<String> requestedScope, List<String> approvedScope, UserSubject userSubject, ServerAccessToken preAuthorizedToken)protected StringBuilderAbstractImplicitGrantService. prepareRedirectResponse(OAuthRedirectionState state, Client client, List<String> requestedScope, List<String> approvedScope, UserSubject userSubject, ServerAccessToken preAuthorizedToken)protected StringAuthorizationCodeGrantService. processCodeGrant(Client client, String code, UserSubject endUser)protected OAuthRedirectionStateRedirectionBasedGrantService. recreateRedirectionStateFromSession(UserSubject subject, String sessionToken)protected javax.ws.rs.core.ResponseRedirectionBasedGrantService. startAuthorization(javax.ws.rs.core.MultivaluedMap<String,String> params, UserSubject userSubject, Client client, String redirectUri) -
Uses of UserSubject in org.apache.cxf.rs.security.oauth2.utils
Methods in org.apache.cxf.rs.security.oauth2.utils that return UserSubject Modifier and Type Method Description static UserSubjectOAuthUtils. createSubject(MessageContext mc, SecurityContext sc)static UserSubjectOAuthUtils. createSubject(SecurityContext securityContext) -
Uses of UserSubject in org.apache.cxf.rs.security.oidc.idp
Subclasses of UserSubject in org.apache.cxf.rs.security.oidc.idp Modifier and Type Class Description classOidcUserSubjectMethods in org.apache.cxf.rs.security.oidc.idp with parameters of type UserSubject Modifier and Type Method Description protected booleanOidcAuthorizationCodeService. canAuthorizationBeSkipped(javax.ws.rs.core.MultivaluedMap<String,String> params, Client client, UserSubject userSubject, List<String> requestedScope, List<OAuthPermission> permissions)protected booleanOidcImplicitService. canAuthorizationBeSkipped(javax.ws.rs.core.MultivaluedMap<String,String> params, Client client, UserSubject userSubject, List<String> requestedScope, List<OAuthPermission> permissions)IdTokenIdTokenProvider. getIdToken(String clientId, UserSubject authenticatedUser, List<String> scopes)UserInfoUserInfoProvider. getUserInfo(String clientId, UserSubject authenticatedUser, List<String> scopes)protected AbstractFormImplicitResponseOidcHybridService. prepareFormResponse(OAuthRedirectionState state, Client client, List<String> requestedScope, List<String> approvedScope, UserSubject userSubject, ServerAccessToken preAuthorizedToken)protected AbstractFormImplicitResponseOidcImplicitService. prepareFormResponse(OAuthRedirectionState state, Client client, List<String> requestedScope, List<String> approvedScope, UserSubject userSubject, ServerAccessToken preAuthorizedToken)protected ServerAuthorizationCodeGrantOidcHybridService. prepareHybrideCode(OAuthRedirectionState state, Client client, List<String> requestedScope, List<String> approvedScope, UserSubject userSubject, ServerAccessToken preAuthorizedToken)protected StringBuilderOidcHybridService. prepareRedirectResponse(OAuthRedirectionState state, Client client, List<String> requestedScope, List<String> approvedScope, UserSubject userSubject, ServerAccessToken preAuthorizedToken)protected StringBuilderOidcImplicitService. prepareRedirectResponse(OAuthRedirectionState state, Client client, List<String> requestedScope, List<String> approvedScope, UserSubject userSubject, ServerAccessToken preAuthorizedToken)protected javax.ws.rs.core.ResponseOidcAuthorizationCodeService. startAuthorization(javax.ws.rs.core.MultivaluedMap<String,String> params, UserSubject userSubject, Client client, String redirectUri)protected javax.ws.rs.core.ResponseOidcImplicitService. startAuthorization(javax.ws.rs.core.MultivaluedMap<String,String> params, UserSubject userSubject, Client client, String redirectUri)Constructors in org.apache.cxf.rs.security.oidc.idp with parameters of type UserSubject Constructor Description OidcUserSubject(UserSubject sub)
-