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
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractSaml2BearerGrant(String grantType, String assertion, boolean encoded, String scope)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddScope(javax.ws.rs.core.MultivaluedMap<String,String> map)protected StringencodeAssertion()StringgetType()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
-
-
-
-
Method Detail
-
getType
public String getType()
Description copied from interface:AccessTokenGrantReturns the token grant type, example, "authorization_code"- Specified by:
getTypein interfaceAccessTokenGrant- Returns:
- the grant type
-
encodeAssertion
protected String encodeAssertion()
-
-