winstone
Interface AuthenticationRealm

All Known Implementing Classes:
ArgumentsRealm, FileRealm

public interface AuthenticationRealm

Interface for authentication realms.

Version:
$Id: AuthenticationRealm.java,v 1.3 2006/12/09 03:56:41 rickknowles Exp $
Author:
Rick Knowles

Method Summary
 AuthenticationPrincipal authenticateByUsernamePassword(java.lang.String userName, java.lang.String password)
          Authenticate the user - do we know them ? Return a distinct id once we know them.
 AuthenticationPrincipal retrieveUser(java.lang.String userName)
          Retrieve an authenticated user.
 

Method Detail

authenticateByUsernamePassword

AuthenticationPrincipal authenticateByUsernamePassword(java.lang.String userName,
                                                       java.lang.String password)
Authenticate the user - do we know them ? Return a distinct id once we know them. Used by the BASIC and FORM authentication methods.


retrieveUser

AuthenticationPrincipal retrieveUser(java.lang.String userName)
Retrieve an authenticated user. Used by the DIGEST and CLIENTCERT authentication methods.



Copyright © 2013. All Rights Reserved.