org.sourceid.saml20.service
Class IdpHashableAuthnBean

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

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

A wrapper around the authn identifiers map that is returned by the IdpAuthenticationAdapter.lookupAuthN(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, org.sourceid.saml20.adapter.idp.authn.AuthnPolicy, java.lang.String) method. It's used by PingFederate to track the application session of the adapter and any remote sessions with partner SPs.

Author:
Brian Campbell
See Also:
Serialized Form

Constructor Summary
IdpHashableAuthnBean(java.util.Map authnIdentifiers, java.lang.String localSessionId, java.lang.String adapterId)
           
 
Method Summary
 java.lang.String getAdapterInstanceId()
           
 java.util.Map getAuthnIdentifiersMap()
          The authentication identifiers returned by the IdpAuthenticationAdapter.lookupAuthN(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, org.sourceid.saml20.adapter.idp.authn.AuthnPolicy, java.lang.String) method.
 java.lang.String getPingFederateSessionId()
          Gets the id of the HTTP session that PingFederate associates with this IdpHashableAuthnBean.
 
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

IdpHashableAuthnBean

public IdpHashableAuthnBean(java.util.Map authnIdentifiers,
                            java.lang.String localSessionId,
                            java.lang.String adapterId)
                     throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getAuthnIdentifiersMap

public java.util.Map getAuthnIdentifiersMap()
The authentication identifiers returned by the IdpAuthenticationAdapter.lookupAuthN(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, org.sourceid.saml20.adapter.idp.authn.AuthnPolicy, java.lang.String) method.

Returns:
the map.

getPingFederateSessionId

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

Returns:
the PingFederate session identifier.

getAdapterInstanceId

public java.lang.String getAdapterInstanceId()


Copyright 2007 Ping Identity Corp. All rights reserved.