Apache CXF API

org.apache.cxf.rs.security.oauth2.grants.saml
Class AbstractSaml2BearerGrant

java.lang.Object
  extended by 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

Constructor Summary
protected AbstractSaml2BearerGrant(String grantType, String assertion, boolean encoded, String scope)
           
 
Method Summary
protected  void addScope(javax.ws.rs.core.MultivaluedMap<String,String> map)
           
protected  String encodeAssertion()
           
 String getType()
          Returns the token grant type, example, "authorization_code"
protected  javax.ws.rs.core.MultivaluedMap<String,String> initMap()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cxf.rs.security.oauth2.common.AccessTokenGrant
toMap
 

Constructor Detail

AbstractSaml2BearerGrant

protected AbstractSaml2BearerGrant(String grantType,
                                   String assertion,
                                   boolean encoded,
                                   String scope)
Method Detail

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 API

Apache CXF