com.dyuproject.web.auth
Class Authentication
java.lang.Object
com.dyuproject.web.auth.Authentication
- Direct Known Subclasses:
- BasicAuthentication, DigestAuthentication
public abstract class Authentication
- extends Object
Web authorization - authenticates users via the "Authorization" and
"WWW-Authenticate" header.
- Author:
- David Yu
- Date created:
- Jun 28, 2008
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AUTHORIZATION
public static final String AUTHORIZATION
- See Also:
- Constant Field Values
WWW_AUTHENTICATE
public static final String WWW_AUTHENTICATE
- See Also:
- Constant Field Values
USERNAME
public static final String USERNAME
- See Also:
- Constant Field Values
PASSWORD
public static final String PASSWORD
- See Also:
- Constant Field Values
REALM
public static final String REALM
- See Also:
- Constant Field Values
Authentication
public Authentication(CredentialSource credentialSource)
getCredentialSource
public CredentialSource getCredentialSource()
authenticate
public abstract boolean authenticate(String realm,
HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Throws:
ServletException
IOException
getType
public abstract String getType()
Copyright © 2008-2013. All Rights Reserved.