|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.ifremer.allegro.PrincipalStore
public final class PrincipalStore
Stores the currently logged in Principal. The principal is passed from another tier of the application (i.e. the web application).
Constructor Summary | |
---|---|
PrincipalStore()
|
Method Summary | |
---|---|
static java.security.Principal |
get()
Get the user principal
for the currently executing thread. |
static void |
set(java.security.Principal principal)
Set the principal for the currently
executing thread. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PrincipalStore()
Method Detail |
---|
public static java.security.Principal get()
principal
for the currently executing thread.
public static void set(java.security.Principal principal)
principal
for the currently
executing thread.
name
- the user principal
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |