|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplanetj.dataengine.security.http.GenericSignOn
planetj.dataengine.security.http.DBPersonalConnectionPoolSignOn
Verifies signon information by trying to connect to the database. A successful sign on results in a new connection pool being created which will only be used by a single user.
Field Summary |
Fields inherited from interface planetj.dataengine.security.http.ISignOn |
GLOBAL_SIGNON_KEY_OPERATION_ID, GLOBAL_SIGNON_KEY_SYSTEM_ALIAS, TIMEOUT_SECONDS |
Constructor Summary | |
DBPersonalConnectionPoolSignOn()
DBPersonalConnectionPoolSignOn constructor |
Method Summary | |
void |
prepareForSignOn(ISecured secured,
HttpServletRequest request,
HttpServletResponse response)
If any subclasses need to do anything special before sign on, they can override this method and call it accordingly. |
void |
sessionExpired(SignOnReceipt pReceipt)
This method is invoked when the session in which a SignOnReceipt is stored expires. |
void |
signOff(java.lang.String pUserId,
ISecured pSecuredApp,
HttpServletRequest pReq)
Signs the user off of the secured application. |
boolean |
signOn(java.lang.String pUserId,
java.lang.String pPassword,
ISecured pSecuredApplication,
HttpServletRequest pReq)
Signs on to a Secured Application.. |
Methods inherited from class planetj.dataengine.security.http.GenericSignOn |
getFailureMessage, getMaximumSignOnFailures, getSignOnURI, isAdditionalSignOnRequired, isAlreadySignedOn, isUserPromptRequired, processSignOnAttemptsExhausted, updateProperties |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DBPersonalConnectionPoolSignOn()
Method Detail |
public void prepareForSignOn(ISecured secured, HttpServletRequest request, HttpServletResponse response) throws CMException
GenericSignOn
prepareForSignOn
in interface ISignOn
prepareForSignOn
in class GenericSignOn
CMException
public void sessionExpired(SignOnReceipt pReceipt)
sessionExpired
in interface ISignOn
sessionExpired
in class GenericSignOn
public void signOff(java.lang.String pUserId, ISecured pSecuredApp, HttpServletRequest pReq) throws CMException
signOff
in interface ISignOn
signOff
in class GenericSignOn
CMException
public boolean signOn(java.lang.String pUserId, java.lang.String pPassword, ISecured pSecuredApplication, HttpServletRequest pReq) throws CMException
SignOnReceipt
object should be created and
stored in the session using the
setSignOnReceipt()
method.
In addition, this method should initialize any connection pools that will be used by the application.
pUserId
- The user id identifying the user signing on to the applicationpPassword
- The password for signing on to the applicationpSecuredApplication
- The Secured Application object representing the application which is being signed on to.pReq
- The HttpServletRequest representing the http request of the user. Additional sign on
information can be stored as attributes in the request
CMException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |