@Path(value="/authorize-direct") public class DirectAuthorizationService extends AbstractOAuthService
LOG
Constructor and Description |
---|
DirectAuthorizationService() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
authorize(javax.ws.rs.core.MultivaluedMap<String,String> params) |
protected UserSubject |
createUserSubject(SecurityContext securityContext) |
protected SecurityContext |
getAndValidateSecurityContext(javax.ws.rs.core.MultivaluedMap<String,String> params) |
protected Client |
getClient(javax.ws.rs.core.MultivaluedMap<String,String> params) |
protected Client |
getClient(String clientId) |
SubjectCreator |
getSubjectCreator() |
boolean |
isPartialMatchScopeValidation() |
void |
setPartialMatchScopeValidation(boolean partialMatchScopeValidation) |
void |
setSubjectCreator(SubjectCreator subjectCreator) |
checkTransportSecurity, getDataProvider, getMessageContext, getQueryParameters, getValidClient, getValidClient, isWriteOptionalParameters, reportInvalidRequestError, reportInvalidRequestError, reportInvalidRequestError, reportInvalidRequestError, setBlockUnsecureRequests, setDataProvider, setMessageContext, setWriteOptionalParameters
@POST @Consumes(value="application/x-www-form-urlencoded") @Produces(value="text/html") public javax.ws.rs.core.Response authorize(javax.ws.rs.core.MultivaluedMap<String,String> params)
protected SecurityContext getAndValidateSecurityContext(javax.ws.rs.core.MultivaluedMap<String,String> params)
protected UserSubject createUserSubject(SecurityContext securityContext)
public SubjectCreator getSubjectCreator()
public void setSubjectCreator(SubjectCreator subjectCreator)
public boolean isPartialMatchScopeValidation()
public void setPartialMatchScopeValidation(boolean partialMatchScopeValidation)
Apache CXF