|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--org.mmbase.security.Rank
This class is somekinda enumeration of the ranks possible within the security context
| Field Summary | |
static Rank |
ADMIN
Identifier for admin rank |
static int |
ADMIN_INT
int value for the anonymous Rank |
static Rank |
ANONYMOUS
Identifier for anonymous rank |
static int |
ANONYMOUS_INT
int value for the anonymous Rank |
static Rank |
BASICUSER
Identifier for basic user rank |
static int |
BASICUSER_INT
int value for the basic user Rank |
| Method Summary | |
int |
getInt()
This method gives back the internal int value of the rank which can be used in switch statements |
static Rank |
getRank(java.lang.String rankDesc)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int ANONYMOUS_INT
public static final int BASICUSER_INT
public static final int ADMIN_INT
public static final Rank ANONYMOUS
public static final Rank BASICUSER
public static final Rank ADMIN
| Method Detail |
public int getInt()
public java.lang.String toString()
toString in class java.lang.Objectpublic static Rank getRank(java.lang.String rankDesc)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||