|
Esri Geoportal Server 1.0
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.gpt.framework.security.identity.AuthenticationStatus
public class AuthenticationStatus
Authentication status associated with a user.
| Constructor Summary | |
|---|---|
AuthenticationStatus()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
assertLoggedIn()
Asserts that the active user is logged in. |
void |
authorizeAction(RoleSet rolesForAction)
Authorizes an action based upon the authenticated roles for the current user and a supplied role set for the action. |
RoleSet |
getAuthenticatedRoles()
Gets the set of authenticated roles. |
boolean |
getWasAuthenticated()
Gets the status indicating whether of not authentication was successful. |
void |
reset()
Resets the authentication status. |
void |
setWasAuthenticated(boolean wasAuthenticated)
Sets the status indicating whether of not authentication was successful. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AuthenticationStatus()
| Method Detail |
|---|
public RoleSet getAuthenticatedRoles()
public boolean getWasAuthenticated()
public void setWasAuthenticated(boolean wasAuthenticated)
wasAuthenticated - true if authentication was successful
public void assertLoggedIn()
throws NotAuthorizedException
NotAuthorizedException - if the user is not logged in
public void authorizeAction(RoleSet rolesForAction)
throws NotAuthorizedException
rolesForAction - the set of roles associated with the action
NotAuthorizedException - if the user does not have a required rolepublic void reset()
|
Esri Geoportal Server 1.0
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||