Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 2 (11.1.2)

E54416-01


oracle.security.jps.callback
Class SAML2TokenCallback

java.lang.Object
  extended by oracle.security.jps.callback.PropertyCallback
      extended by oracle.security.jps.callback.AbstractSAMLTokenCallback
          extended by oracle.security.jps.callback.SAML2TokenCallback

All Implemented Interfaces:
javax.security.auth.callback.Callback, JpsCallback

public class SAML2TokenCallback
extends AbstractSAMLTokenCallback

Field Summary

 

Fields inherited from class oracle.security.jps.callback.AbstractSAMLTokenCallback
USER_ATTRIBUTE_PROPERTY, USER_MAPPING_ATTRIBUTE_PROPERTY

 

Constructor Summary
SAML2TokenCallback()
           

 

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 oracle.security.jps.callback.AbstractSAMLTokenCallback
getAudienceUris, getClockSkew, getTrustedIssuers, setAudienceUris, setClockSkew, setTrustedIssuers

 

Methods inherited from class oracle.security.jps.callback.PropertyCallback
getProperties, setProperties

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

SAML2TokenCallback

public SAML2TokenCallback()

Method Detail

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

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 2 (11.1.2)

E54416-01


Copyright © 2011, 2015, Oracle and/or its affiliates. All rights reserved.