public class Saml2BearerGrantHandler
extends org.apache.cxf.rs.security.oauth2.grants.AbstractGrantHandler
| Constructor and Description |
|---|
Saml2BearerGrantHandler() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.cxf.rs.security.oauth2.common.ServerAccessToken |
createAccessToken(org.apache.cxf.rs.security.oauth2.common.Client client,
javax.ws.rs.core.MultivaluedMap<String,String> params) |
protected org.apache.cxf.rs.security.oauth2.common.UserSubject |
getGrantSubject(org.apache.cxf.message.Message message,
org.apache.wss4j.common.saml.SamlAssertionWrapper wrapper) |
protected Element |
readToken(InputStream tokenStream) |
void |
setSamlOAuthValidator(SamlOAuthValidator validator) |
void |
setSamlValidator(org.apache.wss4j.dom.validate.Validator validator) |
protected void |
setSecurityContext(org.apache.cxf.message.Message message,
org.apache.wss4j.common.saml.SamlAssertionWrapper wrapper) |
void |
setSecurityContextProvider(org.apache.cxf.rs.security.saml.authorization.SecurityContextProvider p) |
protected void |
validateToken(org.apache.cxf.message.Message message,
org.apache.wss4j.common.saml.SamlAssertionWrapper assertion) |
checkIfGrantSupported, doCreateAccessToken, doCreateAccessToken, doCreateAccessToken, doCreateAccessToken, doCreateAccessToken, getAudiences, getDataProvider, getPreAuthorizedToken, getSingleGrantType, getSupportedGrantTypes, isCanSupportPublicClients, isPartialMatchScopeValidation, setCanSupportPublicClients, setDataProvider, setPartialMatchScopeValidationpublic void setSamlValidator(org.apache.wss4j.dom.validate.Validator validator)
public void setSamlOAuthValidator(SamlOAuthValidator validator)
public void setSecurityContextProvider(org.apache.cxf.rs.security.saml.authorization.SecurityContextProvider p)
public org.apache.cxf.rs.security.oauth2.common.ServerAccessToken createAccessToken(org.apache.cxf.rs.security.oauth2.common.Client client,
javax.ws.rs.core.MultivaluedMap<String,String> params)
throws org.apache.cxf.rs.security.oauth2.provider.OAuthServiceException
org.apache.cxf.rs.security.oauth2.provider.OAuthServiceExceptionprotected org.apache.cxf.rs.security.oauth2.common.UserSubject getGrantSubject(org.apache.cxf.message.Message message,
org.apache.wss4j.common.saml.SamlAssertionWrapper wrapper)
protected Element readToken(InputStream tokenStream)
protected void validateToken(org.apache.cxf.message.Message message,
org.apache.wss4j.common.saml.SamlAssertionWrapper assertion)
protected void setSecurityContext(org.apache.cxf.message.Message message,
org.apache.wss4j.common.saml.SamlAssertionWrapper wrapper)
Apache CXF