|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PrincipalHolder
Stack of active 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
Method Summary | |
---|---|
Principal |
getLast()
Get the last, i.e. currently active, principal. |
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. |
Method Detail |
---|
int size()
Principal getLast()
void login(Principal principal)
int logout()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: Beta4.2.1-r8614-Beta4.2-b41
Copyright © 2009 The University of Dundee. All Rights Reserved.