|
|||||||||||
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.UnsecuredSignOn
planetj.dataengine.security.http.LocalUsersOnly
This class check that the incoming user has a local ip address. A local ip address is considered to be any ip starting with: 10. or 127. or 192.
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 | |
LocalUsersOnly()
LocalUsersOnly constructor comment. |
Method Summary | |
static boolean |
isLocal(HttpServletRequest request)
Checks the given request to see if the remote host is a local ip address. |
boolean |
signOn(java.lang.String pUserId,
java.lang.String pPassword,
ISecured pSecuredApplication,
HttpServletRequest request)
Check that the incoming user has a local ip address then treat the application as unsecured |
Methods inherited from class planetj.dataengine.security.http.UnsecuredSignOn |
isUserPromptRequired, prepareForSignOn, signOnUnsecured |
Methods inherited from class planetj.dataengine.security.http.GenericSignOn |
getFailureMessage, getMaximumSignOnFailures, getSignOnURI, isAdditionalSignOnRequired, isAlreadySignedOn, processSignOnAttemptsExhausted, sessionExpired, signOff, updateProperties |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LocalUsersOnly()
Method Detail |
public static boolean isLocal(HttpServletRequest request)
public boolean signOn(java.lang.String pUserId, java.lang.String pPassword, ISecured pSecuredApplication, HttpServletRequest request) throws CMException
signOn
in interface ISignOn
signOn
in class UnsecuredSignOn
pUserId
- The user id identifying the user signing on to the applicationpPassword
- The password for signing on to the applicationrequest
- 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 |