|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.aselect.server.request.handler.saml11.websso.AbstractWebSSOProfile
public abstract class AbstractWebSSOProfile
Abstract class implementing the basic functionality of a WebSSO profile handler.
Description:
Reads default configuration and contains functionality for SAMLAssertion
generation.
Concurrency issues:
-
Field Summary | |
---|---|
protected ASelectConfigManager |
_configManager
|
protected long |
_lAssertionExpireTime
|
protected SessionManager |
_oSessionManager
|
protected TGTManager |
_oTGTManager
|
protected java.lang.String |
_sASelectServerID
|
protected ASelectSystemLogger |
_systemLogger
|
protected static java.lang.String |
SESSION_ID_PREFIX
|
Constructor Summary | |
---|---|
AbstractWebSSOProfile()
|
Method Summary | |
---|---|
protected org.opensaml.SAMLAssertion |
createSAMLAssertion(java.lang.String sUid,
java.lang.String sProviderId,
java.util.Hashtable htInfo,
java.lang.String sIP,
java.lang.String sHost,
java.lang.String sConfirmationMethod,
java.lang.String sIdp)
Creates a SAMLAssertion object. |
abstract void |
destroy()
Removes class variables from memory. |
java.lang.String |
getID()
Returns the configured profile id |
void |
init(java.lang.Object oConfig,
long lAssertionExpireTime,
java.lang.String sAttributeNamespace,
boolean bSendAttributeStatement)
Initializes the default functionality for a WebSSO profile Handler. |
abstract void |
process(java.util.Hashtable htInfo,
javax.servlet.http.HttpServletResponse response,
java.lang.String sIP,
java.lang.String sHost)
processes a request and sends a websso response. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String SESSION_ID_PREFIX
protected ASelectSystemLogger _systemLogger
protected ASelectConfigManager _configManager
protected long _lAssertionExpireTime
protected SessionManager _oSessionManager
protected TGTManager _oTGTManager
protected java.lang.String _sASelectServerID
Constructor Detail |
---|
public AbstractWebSSOProfile()
Method Detail |
---|
public void init(java.lang.Object oConfig, long lAssertionExpireTime, java.lang.String sAttributeNamespace, boolean bSendAttributeStatement) throws ASelectException
init
in interface IWebSSOProfile
oConfig
- object containing the configuration used by the A-Select
ConfigManagerlAssertionExpireTime
- the configured assertion expire timesAttributeNamespace
- the configured attribute namespace that will
be used for creating attributesbSendAttributeStatement
- TRUE if the Attribute Statement must be
send direclty
ASelectException
- if initialization failsIWebSSOProfile.init(java.lang.Object, long, java.lang.String, boolean)
public java.lang.String getID()
getID
in interface IWebSSOProfile
IWebSSOProfile.getID()
public abstract void process(java.util.Hashtable htInfo, javax.servlet.http.HttpServletResponse response, java.lang.String sIP, java.lang.String sHost) throws ASelectException
IWebSSOProfile
process
in interface IWebSSOProfile
htInfo
- containing the A-Select verify_credentials response itemsresponse
- the HttpServletResponse were to the SAML response will be
sentsIP
- the client IP addresssHost
- the host representation of the clients IP address
ASelectException
- if processing failsIWebSSOProfile.process(java.util.Hashtable, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)
public abstract void destroy()
IWebSSOProfile
destroy
in interface IWebSSOProfile
IWebSSOProfile.destroy()
protected org.opensaml.SAMLAssertion createSAMLAssertion(java.lang.String sUid, java.lang.String sProviderId, java.util.Hashtable htInfo, java.lang.String sIP, java.lang.String sHost, java.lang.String sConfirmationMethod, java.lang.String sIdp) throws ASelectException
htInfo
must contain the following items:
sUid
- the A-Select user id of the requestorsProviderId
- the providerId that is requestedhtInfo
- Hashtable containing user informationsIP
- the client IP addresssHost
- the Host representation of the client IP addresssConfirmationMethod
- the SAML Confirmation Method that must be used
when creating a SAML Authentication statement
ASelectException
- if creation fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |