|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.aselect.server.tgt.TGTIssuer
public class TGTIssuer
Issues ASelect TGT's.
Description:
Provides methods to issue Ticket Granting Tickets in A-Select.
Concurrency issues:
-
Constructor Summary | |
---|---|
TGTIssuer(java.lang.String sServerId)
The default constructor. |
Method Summary | |
---|---|
void |
issueCrossTGT(java.lang.String sRid,
java.lang.String sAuthSP,
java.util.Hashtable htRemoteAttributes,
javax.servlet.http.HttpServletResponse oHttpServletResponse,
java.lang.String sOldTGT,
javax.servlet.http.HttpServletRequest oHttpServletRequest)
Creates a Cross TGT and redirects the user. |
void |
issueErrorTGT(java.lang.String sRid,
java.lang.String sResultCode,
javax.servlet.http.HttpServletResponse oHttpServletResponse)
Creates an error TGT and redirects the user. |
void |
issueTGT(java.lang.String sRid,
java.lang.String sAuthSP,
java.util.Hashtable htAdditional,
javax.servlet.http.HttpServletResponse oHttpServletResponse,
java.lang.String sOldTGT,
javax.servlet.http.HttpServletRequest oHttpServletRequest)
Creates a default TGT and redirects the user. |
void |
sendRedirect(java.lang.String sAppUrl,
java.lang.String sTgt,
java.lang.String sRid,
javax.servlet.http.HttpServletResponse oHttpServletResponse)
Redirect the user to the supplied application url with the given TGT and RID. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TGTIssuer(java.lang.String sServerId)
sServerId
- The A-Select server ID.Method Detail |
---|
public void issueCrossTGT(java.lang.String sRid, java.lang.String sAuthSP, java.util.Hashtable htRemoteAttributes, javax.servlet.http.HttpServletResponse oHttpServletResponse, java.lang.String sOldTGT, javax.servlet.http.HttpServletRequest oHttpServletRequest) throws ASelectException
sRid
- The request id (session key)sAuthSP
- The AuthSP which the used to authenticatehtRemoteAttributes
- Hashtable
containing additional TGT
informationoHttpServletResponse
- The servlet response that is used to redirect
tosOldTGT
- The aselect_credentials_tgt that is already set as a
cookie at the user (can be null if not present)
ASelectException
- if an error page must be shownpublic void issueTGT(java.lang.String sRid, java.lang.String sAuthSP, java.util.Hashtable htAdditional, javax.servlet.http.HttpServletResponse oHttpServletResponse, java.lang.String sOldTGT, javax.servlet.http.HttpServletRequest oHttpServletRequest) throws ASelectException
sRid
- The request id (session key)sAuthSP
- The AuthSP which the used to authenticatehtAdditional
- Hashtable
containing additional TGT
informationoHttpServletResponse
- The servlet response that is used to redirect
tosOldTGT
- The aselect_credentials_tgt that is already set as a
cookie at the user (can be null if not exists)
ASelectException
- if an error page must be shownpublic void issueErrorTGT(java.lang.String sRid, java.lang.String sResultCode, javax.servlet.http.HttpServletResponse oHttpServletResponse) throws ASelectException
sRid
- The request id (session key)sResultCode
- The error code that occurred and will be returned to
the webapplication applicationoHttpServletResponse
- The servlet response that is used to redirect
to
ASelectException
- if an error page must be shownpublic void sendRedirect(java.lang.String sAppUrl, java.lang.String sTgt, java.lang.String sRid, javax.servlet.http.HttpServletResponse oHttpServletResponse) throws ASelectException
null
null
null
sAppUrl
- application url to send the redirect tosTgt
- TGT that will be sent with the redirectsRid
- RID that will be sent with the redirectoHttpServletResponse
- the user that will be redirected
ASelectException
- if the user could not be redirected
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |