public abstract class AbstractSimpleIdentityManager extends Object implements SimpleIdentityManager
| Modifier and Type | Field and Description |
|---|---|
protected Set |
registeredActions |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSimpleIdentityManager() |
| Modifier and Type | Method and Description |
|---|---|
Collection |
getActions()
Return a list of the actions that are registered.
|
SimpleIdentity |
getAdministrator() |
boolean |
needDomain()
Inform if the login process require a domain name.
|
void |
registerAction(String actionName)
Register the actionName as an action that require authorization.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCurrentIdentity, login, logout, sudoprotected Set registeredActions
public SimpleIdentity getAdministrator()
getAdministrator in interface SimpleIdentityManagerpublic boolean needDomain()
SimpleIdentityManagerneedDomain in interface SimpleIdentityManagerpublic void registerAction(String actionName)
SimpleIdentityManagerregisterAction in interface SimpleIdentityManagerpublic Collection getActions()
SimpleIdentityManagergetActions in interface SimpleIdentityManager