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