|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.tigris.scarab.util.AnonymousUserUtil
| Constructor Summary | |
AnonymousUserUtil()
|
|
| Method Summary | |
static boolean |
anonymousAccessAllowed()
Returns true, when anonymous user access is explicitly allowed,. |
static void |
anonymousLogin(org.apache.turbine.RunData data)
Login the Anonymous user and prepare the run data |
static java.lang.String |
getAnonymousRolename()
Returns the name of the anonymous rolename Note: This method returns the anonymous userid independent from wether anonymous access is allowed or not. |
static org.apache.fulcrum.security.entity.User |
getAnonymousUser()
Return an instanceof the Anonymous User. |
static java.lang.String |
getAnonymousUserId()
Returns the userid of the anonymous user Note: This method returns the anonymous userid independent from wether anonymous access is allowed or not. |
static boolean |
isUserAnonymous(ScarabUser user)
Returns true if the user is the one set in scarab.anonymous.username, and false otherwise. |
static void |
userLogin(org.apache.turbine.RunData data,
org.apache.fulcrum.security.entity.User user)
Login a given user into the session updating the rundata. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AnonymousUserUtil()
| Method Detail |
public static boolean isUserAnonymous(ScarabUser user)
public static boolean anonymousAccessAllowed()
public static java.lang.String getAnonymousUserId()
public static java.lang.String getAnonymousRolename()
public static org.apache.fulcrum.security.entity.User getAnonymousUser()
throws org.apache.fulcrum.security.util.DataBackendException,
org.apache.fulcrum.security.util.UnknownEntityException
org.apache.fulcrum.security.util.DataBackendException
org.apache.fulcrum.security.util.UnknownEntityExceptionpublic static void anonymousLogin(org.apache.turbine.RunData data)
data -
public static void userLogin(org.apache.turbine.RunData data,
org.apache.fulcrum.security.entity.User user)
data - user -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||