|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.webdav.util.BasicAuthentication
public final class BasicAuthentication
a simple implementation of the HTTP-Basic-Authentication.
Contains a backslash fix for Microsoft Clients: If the user name contains a backslash (which is an illegal character in pulse user names), we are confronted with a Windows Web Folder client. The user name will then be extracted after the last backslash.
| Field Summary | |
|---|---|
static java.lang.String |
HTTP_AUTHENTICATION_HEADER
the authorization required header. |
static java.lang.String |
HTTP_AUTHENTICATION_TYPE_BASIC
the authentication type. |
| Method Summary | |
|---|---|
static User |
authenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
performs the HTTP Basic Authentication against the pulse user database. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String HTTP_AUTHENTICATION_HEADER
public static final java.lang.String HTTP_AUTHENTICATION_TYPE_BASIC
| Method Detail |
|---|
public static User authenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
request - the requestresponse - the response
User or null, if no
User could be authenticated
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||