|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lenya.cms.ac.cocoon.CredentialWrapper
public class CredentialWrapper
Wrapper class for credentials.
Field Summary | |
---|---|
static java.lang.String |
GROUP
|
static java.lang.String |
IPRANGE
|
static java.lang.String |
USER
|
Constructor Summary | |
---|---|
CredentialWrapper(Accreditable accreditable,
Role role)
Ctor. |
Method Summary | |
---|---|
java.lang.String |
getAccreditableId()
Returns the accreditable ID. |
java.lang.String |
getAccreditableName()
Returns the accreditable name. |
java.lang.String |
getRoleId()
Returns the role ID. |
java.lang.String |
getRoleName()
Returns the role name. |
java.lang.String |
getType()
Returns the accreditable type ( USER , GROUP , or IPRANGE ) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String USER
public static final java.lang.String GROUP
public static final java.lang.String IPRANGE
Constructor Detail |
---|
public CredentialWrapper(Accreditable accreditable, Role role)
accreditable
- The accreditable of the credential to wrap.role
- The role of the credential to wrap.Method Detail |
---|
public java.lang.String getAccreditableId()
public java.lang.String getAccreditableName()
public java.lang.String getRoleId()
public java.lang.String getRoleName()
public java.lang.String getType()
USER
, GROUP
, or IPRANGE
)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |