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, wait
getCurrentIdentity, login, logout, sudo
protected Set registeredActions
public SimpleIdentity getAdministrator()
getAdministrator
in interface SimpleIdentityManager
public boolean needDomain()
SimpleIdentityManager
needDomain
in interface SimpleIdentityManager
public void registerAction(String actionName)
SimpleIdentityManager
registerAction
in interface SimpleIdentityManager
public Collection getActions()
SimpleIdentityManager
getActions
in interface SimpleIdentityManager