Class DirectAuthorizationService
java.lang.Object
org.apache.cxf.rs.security.oauth2.services.AbstractOAuthService
org.apache.cxf.rs.security.oauth2.services.DirectAuthorizationService
-
Field Summary
Fields inherited from class org.apache.cxf.rs.security.oauth2.services.AbstractOAuthService
LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Responseprotected UserSubjectcreateUserSubject(SecurityContext securityContext, jakarta.ws.rs.core.MultivaluedMap<String, String> params) protected SecurityContextgetAndValidateSecurityContext(jakarta.ws.rs.core.MultivaluedMap<String, String> params) protected ClientbooleanvoidsetPartialMatchScopeValidation(boolean partialMatchScopeValidation) voidsetSubjectCreator(SubjectCreator subjectCreator) voidsetUseAllClientScopes(boolean useAllClientScopes) Methods inherited from class org.apache.cxf.rs.security.oauth2.services.AbstractOAuthService
checkTransportSecurity, getDataProvider, getMessageContext, getQueryParameters, getValidClient, getValidClient, injectContextIntoOAuthProviders, isWriteOptionalParameters, reportInvalidRequestError, reportInvalidRequestError, reportInvalidRequestError, reportInvalidRequestError, setBlockUnsecureRequests, setDataProvider, setMessageContext, setWriteOptionalParameters
-
Constructor Details
-
DirectAuthorizationService
public DirectAuthorizationService()
-
-
Method Details
-
authorize
-
getAndValidateSecurityContext
protected SecurityContext getAndValidateSecurityContext(jakarta.ws.rs.core.MultivaluedMap<String, String> params) -
createUserSubject
protected UserSubject createUserSubject(SecurityContext securityContext, jakarta.ws.rs.core.MultivaluedMap<String, String> params) -
getSubjectCreator
-
setSubjectCreator
-
getClient
-
isPartialMatchScopeValidation
public boolean isPartialMatchScopeValidation() -
setPartialMatchScopeValidation
public void setPartialMatchScopeValidation(boolean partialMatchScopeValidation) -
setUseAllClientScopes
public void setUseAllClientScopes(boolean useAllClientScopes)
-