Skip navigation links
oracle.security.jps.callback
Class SAML2TokenCallback
java.lang.Object
oracle.security.jps.callback.PropertyCallback
oracle.security.jps.callback.AbstractSAMLTokenCallback
oracle.security.jps.callback.SAML2TokenCallback
- All Implemented Interfaces:
- javax.security.auth.callback.Callback, JpsCallback
-
public class SAML2TokenCallback
- extends AbstractSAMLTokenCallback
Method Summary |
oracle.security.xmlsec.saml2.core.Assertion |
getAssertion()
Get the SAML2 assertion. |
java.lang.String |
getAttestingEntity()
Get the attesting entity DN for verifying attesting entity specified in a SAML sender-vouches assertion. |
JpsCallbackType |
getCallbackType()
Gets the callback type. |
void |
setAssertion(oracle.security.xmlsec.saml2.core.Assertion assertion)
Set the SAML2 assertion. |
void |
setAttestingEntity(java.lang.String attestingEntity)
Set the attesting entity DN for verifying attesting entity specified in a SAML sender-vouches assertion. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SAML2TokenCallback
public SAML2TokenCallback()
getAssertion
public oracle.security.xmlsec.saml2.core.Assertion getAssertion()
- Get the SAML2 assertion.
-
- Returns:
- SAML2 assertion
setAssertion
public void setAssertion(oracle.security.xmlsec.saml2.core.Assertion assertion)
- Set the SAML2 assertion.
-
- Parameters:
assertion
- SAML2 assertion
getAttestingEntity
public java.lang.String getAttestingEntity()
- Get the attesting entity DN for verifying attesting entity specified in a SAML sender-vouches assertion.
-
- Returns:
- attesting entity.
setAttestingEntity
public void setAttestingEntity(java.lang.String attestingEntity)
- Set the attesting entity DN for verifying attesting entity specified in a SAML sender-vouches assertion.
The method is protected by code based permission oracle.security.jps.JpsPermission("IdentityAssertion", "execute").
-
- Parameters:
attestingEntity
- attesting entity, can be null.
- Throws:
java.security.AccessControlException
- if permission oracle.security.jps.JpsPermission("IdentityAssertion", "execute") is not granted.
getCallbackType
public JpsCallbackType getCallbackType()
- Gets the callback type.
-
- Specified by:
getCallbackType
in interface JpsCallback
- Overrides:
getCallbackType
in class PropertyCallback
-
- Returns:
- JpsCallbackType.JPS_SAML2_CALLBACK
Skip navigation links
Copyright © 2011, 2015, Oracle and/or its affiliates. All rights reserved.