hbedi       01/11/17 17:29:23

  Added:       src/java/org/apache/james/nntpserver AuthService.java
  Log:
  authentication and authorization service
  
  Revision  Changes    Path
  1.1                  
jakarta-james/src/java/org/apache/james/nntpserver/AuthService.java
  
  Index: AuthService.java
  ===================================================================
  /*
   * Copyright (C) The Apache Software Foundation. All rights reserved.
   *
   * This software is published under the terms of the Apache Software License
   * version 1.1, a copy of which has been included with this distribution in
   * the LICENSE file.
   */
  package org.apache.james.nntpserver;
  
  /**
   * Authenticates users and 
   * Access Control for User Commands.
   *
   * @author  Harmeet <[EMAIL PROTECTED]> 
   */
  public interface AuthService {
      String ROLE = "org.apache.james.nntpserver.AuthService";
  
      boolean isAuthenticated();
      void setUser(String userid);
      void setPassword(String password);
      boolean isAuthorized(String command);
  }
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to