org.astrogrid.community.client.security.manager
Class SecurityManagerCoreDelegate
java.lang.Object
org.astrogrid.community.client.service.CommunityServiceCoreDelegate
org.astrogrid.community.client.security.manager.SecurityManagerCoreDelegate
- All Implemented Interfaces:
- org.astrogrid.community.common.service.CommunityService, CommunityServiceDelegate, java.rmi.Remote, org.astrogrid.community.common.security.manager.SecurityManager, SecurityManagerDelegate
- Direct Known Subclasses:
- SecurityManagerMockDelegate, SecurityManagerSoapDelegate
- public class SecurityManagerCoreDelegate
- extends CommunityServiceCoreDelegate
- implements org.astrogrid.community.common.security.manager.SecurityManager, SecurityManagerDelegate
The core delegate code for our SecurityManager service.
This acts as a wrapper for a SecurityManager service, and handles any RemoteExceptions internally.
|
Method Summary |
protected org.astrogrid.community.common.security.manager.SecurityManager |
getSecurityManager()
Get a reference to our SecurityManager service. |
boolean |
setPassword(java.lang.String ident,
java.lang.String value)
Set an Account password. |
protected void |
setSecurityManager(org.astrogrid.community.common.security.manager.SecurityManager manager)
Set our our SecurityManager service. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.astrogrid.community.common.service.CommunityService |
getServiceStatus |
SecurityManagerCoreDelegate
protected SecurityManagerCoreDelegate()
- Public constructor.
getSecurityManager
protected org.astrogrid.community.common.security.manager.SecurityManager getSecurityManager()
- Get a reference to our SecurityManager service.
setSecurityManager
protected void setSecurityManager(org.astrogrid.community.common.security.manager.SecurityManager manager)
- Set our our SecurityManager service.
setPassword
public boolean setPassword(java.lang.String ident,
java.lang.String value)
throws org.astrogrid.community.common.exception.CommunityServiceException,
org.astrogrid.community.common.exception.CommunitySecurityException,
org.astrogrid.community.common.exception.CommunityIdentifierException
- Set an Account password.
- Specified by:
setPassword in interface org.astrogrid.community.common.security.manager.SecurityManager
- Returns:
- True if the password was set.
- Throws:
org.astrogrid.community.common.exception.CommunitySecurityException - If the password change fails.
org.astrogrid.community.common.exception.CommunityServiceException - If there is an internal error in service.
org.astrogrid.community.common.exception.CommunityIdentifierException - If the account identifier is invalid.
Copyright © 2002-2007 AstroGrid. All Rights Reserved.