public final class AuthenticationUtil extends Object
authenticationcauses an decode of the given credentials bason on base64. Decoded credentials will be turned back to caller.
Modifier and Type | Class and Description |
---|---|
static interface |
AuthenticationUtil.Credentials |
Constructor and Description |
---|
AuthenticationUtil() |
Modifier and Type | Method and Description |
---|---|
static AuthenticationUtil.Credentials |
authenticate(javax.servlet.http.HttpServletRequest request)
Decodes given Credentials through base64 decode and turns back a @link
AuthenticationUtil.Credentials Objects with username and password. |
static void |
sendAuthorisationCommand(org.apache.jackrabbit.webdav.WebdavResponse response)
Sends back via use of marshaled HttpServletResponse an
AuthenticationHeader
|
public static AuthenticationUtil.Credentials authenticate(javax.servlet.http.HttpServletRequest request) throws WebDavAuthorisationException
AuthenticationUtil.Credentials
Objects with username and password. Please note, that
this credentials are no valid login-informations against logicalDOC,
instead its more an preparement for the final check.request
- The marshaled HttpServletRequestWebDavAuthorisationException
- If given UserCredentials are corrupt or even missingpublic static void sendAuthorisationCommand(org.apache.jackrabbit.webdav.WebdavResponse response)
response
- the WebdavResponse
Copyright © 2008-2014 Logical Objects. All Rights Reserved.