| java.lang.Object org.apache.lenya.cms.ac.usecases.CredentialWrapper
CredentialWrapper | public class CredentialWrapper (Code) | | Wrapper class for credentials.
version: $Id: CredentialWrapper.java 544630 2007-06-05 20:55:45Z rfrovarp $ |
CredentialWrapper | public CredentialWrapper(Accreditable accreditable, Role role, String method)(Code) | | Ctor.
Parameters: accreditable - The accreditable of the credential to wrap. Parameters: role - The role of the credential to wrap. Parameters: method - |
getAccreditableId | public String getAccreditableId()(Code) | | Returns the accreditable ID.
A string. |
getAccreditableName | public String getAccreditableName()(Code) | | Returns the accreditable name.
A string. |
getMethod | public String getMethod()(Code) | | Returns the method of the Credential
A string that is either "deny" or "grant" |
getRoleId | public String getRoleId()(Code) | | Returns the role ID.
A string. |
getRoleName | public String getRoleName()(Code) | | Returns the role name.
A string. |
|
|