|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mmbase.util.HttpAuth
public class HttpAuth
| Constructor Summary | |
|---|---|
HttpAuth()
Deprecated. |
|
| Method Summary | |
|---|---|
static String |
checkUser(String mimeline)
Deprecated. With a given mimeline, the username and password will be retrieved, and with it there will be looked if it is an valid login. |
static String |
getAuthorization(HttpServletRequest req,
HttpServletResponse res,
String server,
String level)
Deprecated. Authenticates a user, If the user cannot be authenticated a login-popup will appear |
static String |
getRemoteUser(HttpServletRequest req)
Deprecated. getRemoteUser |
static String |
getRemoteUser(PageInfo sp)
Deprecated. getRemoteUser |
static void |
setLocalCheckUrl(String url)
Deprecated. Sets the url on which an authentication has to be checked. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpAuth()
| Method Detail |
|---|
public static String checkUser(String mimeline)
mimeline - The mimeline of the request
null when something goes wrong
public static String getAuthorization(HttpServletRequest req,
HttpServletResponse res,
String server,
String level)
throws AuthorizationException,
NotLoggedInException
server - server-account. (for exameple 'film' or 'www')level - loginlevel. (for example 'Basic' or 'MD5')
AuthorizationException - if the authorization fails.
NotLoggedInException - if the user hasn't logged in yet.public static String getRemoteUser(HttpServletRequest req)
req -
public static String getRemoteUser(PageInfo sp)
sp -
public static void setLocalCheckUrl(String url)
url -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||