org.sourceid.saml20.service
Class SpHashableAuthnBean

java.lang.Object
  extended by com.pingidentity.common.util.SerialHashable
      extended by org.sourceid.saml20.service.SpHashableAuthnBean
All Implemented Interfaces:
java.io.Serializable

public class SpHashableAuthnBean
extends com.pingidentity.common.util.SerialHashable
implements java.io.Serializable

A wrapper around the opaque Serializable authn object map that is returned by the SpAuthenticationAdapter.createAuthN(org.sourceid.saml20.adapter.sp.authn.SsoContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String) method. It's used by PingFederate to track the application session of the adapter.

Author:
Brian Campbell
See Also:
Serialized Form

Constructor Summary
SpHashableAuthnBean(java.io.Serializable opaqueAuthnBean, java.lang.String adapterId, java.lang.String localSessionId, java.lang.String assertionId)
           
 
Method Summary
 java.lang.String getAdapterId()
          Gets the instance id of the adapter that was used to create the authentication context and get the opaque Serializable authn object.
 java.lang.String getAssertionId()
          Gets the id of the assertion that was relied on to create the security context associated with this object.
 java.io.Serializable getOpaqueAuthnBean()
          Gets the opaque Serializable authn object.
 java.lang.String getPingFederatelSessionId()
          Gets the id of the HTTP session that PingFederate associates with this SpHashableAuthnBean.
 
Methods inherited from class com.pingidentity.common.util.SerialHashable
equals, getSerializedHash, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SpHashableAuthnBean

public SpHashableAuthnBean(java.io.Serializable opaqueAuthnBean,
                           java.lang.String adapterId,
                           java.lang.String localSessionId,
                           java.lang.String assertionId)
                    throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getOpaqueAuthnBean

public java.io.Serializable getOpaqueAuthnBean()
Gets the opaque Serializable authn object.

Returns:
opaque Serializable authn object.

getAdapterId

public java.lang.String getAdapterId()
Gets the instance id of the adapter that was used to create the authentication context and get the opaque Serializable authn object.

Returns:
the adapter instance id.

getPingFederatelSessionId

public java.lang.String getPingFederatelSessionId()
Gets the id of the HTTP session that PingFederate associates with this SpHashableAuthnBean.

Returns:
the PingFederate session identifier.

getAssertionId

public java.lang.String getAssertionId()
Gets the id of the assertion that was relied on to create the security context associated with this object.

Returns:
the assertion id.


Copyright 2007 Ping Identity Corp. All rights reserved.