|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jcs.utils.servlet.BasicHttpAuthenticator
public class BasicHttpAuthenticator
Used to perform basic http authentication.
| Constructor Summary | |
|---|---|
BasicHttpAuthenticator(java.lang.String jcs)
|
|
| Method Summary | |
|---|---|
boolean |
authenticate(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Authenticates the http "Authorization" header information. |
protected boolean |
checkPassword(java.lang.String userid,
java.lang.String password)
Default implementation of checking the password. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicHttpAuthenticator(java.lang.String jcs)
jcs - the jcs parameter used to specify the "WWW-Authenticate" http
response header.| Method Detail |
|---|
public final boolean authenticate(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
"Authorization" header information.
req - res -
protected boolean checkPassword(java.lang.String userid,
java.lang.String password)
userid - password -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||