org.apache.james.nntpserver
Class AuthState

java.lang.Object
  |
  +--org.apache.james.nntpserver.AuthState

public class AuthState
extends java.lang.Object

Version:
1.0.0, 31/03/2001
Author:
Harmeet implements the authentication state. Should this be moved to a more common place ?? Should there be an authenication service, that manufactures and hands to the different protocol servers AuthState objects.

Constructor Summary
AuthState(boolean requiredAuth, UsersRepository repo)
           
 
Method Summary
 boolean isAuthenticated()
           
 void setPassword(java.lang.String password)
           
 void setUser(java.lang.String user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthState

public AuthState(boolean requiredAuth,
                 UsersRepository repo)
Method Detail

isAuthenticated

public boolean isAuthenticated()

setUser

public void setUser(java.lang.String user)

setPassword

public void setPassword(java.lang.String password)


Copyright © 2001 Apache Jakarta Project. All Rights Reserved.