|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.nuxeo.ecm.webapp.security.UserSessionBean
@Startup @Name(value="userSession") @Scope(value=SESSION) public class UserSessionBean
Constructor Summary | |
---|---|
UserSessionBean()
|
Method Summary | |
---|---|
void |
destroy()
|
NuxeoPrincipal |
getCurrentNuxeoPrincipal()
|
java.security.Principal |
getCurrentUser()
|
boolean |
isAdministrator()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserSessionBean()
Method Detail |
---|
@Factory(value="currentUser", scope=SESSION) public java.security.Principal getCurrentUser()
getCurrentUser
in interface UserSession
@Factory(value="currentNuxeoPrincipal", scope=SESSION) public NuxeoPrincipal getCurrentNuxeoPrincipal()
getCurrentNuxeoPrincipal
in interface UserSession
public boolean isAdministrator()
isAdministrator
in interface UserSession
@Destroy public void destroy()
destroy
in interface UserSession
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |