public interface PrincipalHolder
Principal
instances. As a user logs in, an empty
context is created which must later be primed by the SecuritySystem
in order to be operational.BasicSecuritySystem
Modifier and Type | Method and Description |
---|---|
ome.system.Principal |
getLast()
Get the last, i.e.
|
void |
login(BasicEventContext bec)
Allow logging in directly with an event context.
|
void |
login(ome.system.Principal principal)
Add a new principal context to the stack.
|
int |
logout()
Pop the last created principal context and return the number of active
contexts remaining.
|
int |
size()
Get the number of active principal contexts.
|
int size()
ome.system.Principal getLast()
void login(ome.system.Principal principal)
principal
- the principal to addvoid login(BasicEventContext bec)
bec
- the event context to useint logout()