| org.drools.brms.client.rpc.SecurityService
All known Subclasses: org.drools.brms.server.security.SecurityServiceImpl,
SecurityService | public interface SecurityService extends RemoteService(Code) | | Contains methods for authenticating/authorising from the front end.
author: Michael Neale |
Method Summary | |
public String | getCurrentUser() This returns the current user's name if they are logged in. | public boolean | login(String userName, String password) This will do a password authentication, using the configured JAAS provider. |
getCurrentUser | public String getCurrentUser()(Code) | | This returns the current user's name if they are logged in. If notthen null is returned. |
login | public boolean login(String userName, String password)(Code) | | This will do a password authentication, using the configured JAAS provider.
This may be a default one (which allows anything in).
true if user is logged in successfully. |
|
|