View Javadoc

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