View Javadoc

1   /*
2    * <cvs:source>$Source: /devel/astrogrid/community/common/src/java/org/astrogrid/community/common/security/manager/SecurityManager.java,v $</cvs:source>
3    * <cvs:author>$Author: dave $</cvs:author>
4    * <cvs:date>$Date: 2004/06/18 13:45:20 $</cvs:date>
5    * <cvs:version>$Revision: 1.5 $</cvs:version>
6    *
7    * <cvs:log>
8    *   $Log: SecurityManager.java,v $
9    *   Revision 1.5  2004/06/18 13:45:20  dave
10   *   Merged development branch, dave-dev-200406081614, into HEAD
11   *
12   *   Revision 1.4.36.1  2004/06/17 13:38:59  dave
13   *   Tidied up old CVS log entries
14   *
15   * </cvs:log>
16   *
17   */
18  package org.astrogrid.community.common.security.manager ;
19  
20  import java.rmi.Remote ;
21  import java.rmi.RemoteException ;
22  
23  import org.astrogrid.community.common.service.CommunityService ;
24  
25  import org.astrogrid.community.common.exception.CommunityServiceException  ;
26  import org.astrogrid.community.common.exception.CommunitySecurityException ;
27  import org.astrogrid.community.common.exception.CommunityIdentifierException  ;
28  
29  /***
30   * Interface for our SecurityManager service.
31   *
32   */
33  public interface SecurityManager
34      extends Remote, CommunityService
35      {
36  
37      /***
38       * Set an Account password.
39       * @param account  The account ident.
40       * @param password The account password.
41       * @return True if the password was set.
42       * @throws CommunitySecurityException If the password change fails.
43       * @throws CommunityServiceException If there is an internal error in service.
44       * @throws CommunityIdentifierException If the account identifier is invalid.
45       * @throws RemoteException If the WebService call fails.
46       *
47       */
48      public boolean setPassword(String ident, String value)
49          throws RemoteException, CommunityServiceException, CommunitySecurityException, CommunityIdentifierException ;
50  
51      }