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 |
---|---|
Principal |
getLast()
Get the last, i.e. currently active, principal.
|
void |
login(BasicEventContext bec)
Allow logging in directly with an event context.
|
void |
login(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()
Principal getLast()
void login(Principal principal)
void login(BasicEventContext bec)
bec
- int logout()
Version: 5.1.3-ice35-b52
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.