org.apache.cxf.rs.security.oauth2.grants.saml
Class AbstractSaml2BearerGrant
java.lang.Object
org.apache.cxf.rs.security.oauth2.grants.saml.AbstractSaml2BearerGrant
- All Implemented Interfaces:
- Serializable, AccessTokenGrant
- Direct Known Subclasses:
- Saml2BearerGrant, SamlBearerClientCredentialsGrant
public abstract class AbstractSaml2BearerGrant
- extends Object
- implements AccessTokenGrant
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSaml2BearerGrant
protected AbstractSaml2BearerGrant(String grantType,
String assertion,
boolean encoded,
String scope)
getType
public String getType()
- Description copied from interface:
AccessTokenGrant
- Returns the token grant type, example, "authorization_code"
- Specified by:
getType
in interface AccessTokenGrant
- Returns:
- the grant type
initMap
protected javax.ws.rs.core.MultivaluedMap<String,String> initMap()
addScope
protected void addScope(javax.ws.rs.core.MultivaluedMap<String,String> map)
encodeAssertion
protected String encodeAssertion()
Apache CXF