org.apache.lenya.ac
Interface Credential
public interface Credential
A credential assigns a Role
to an Accreditable
.
Field Summary |
static java.lang.String |
DENY
The "deny" method. |
static java.lang.String |
GRANT
The "grant" method. |
GRANT
static final java.lang.String GRANT
- The "grant" method.
- See Also:
- Constant Field Values
DENY
static final java.lang.String DENY
- The "deny" method.
- See Also:
- Constant Field Values
getAccreditable
Accreditable getAccreditable()
- Returns:
- The accreditable this credential applies to.
getRole
Role getRole()
- Returns:
- The role of this credential.
getMethod
java.lang.String getMethod()
- Returns:
- The method, one of
GRANT
and DENY
.
Copyright © 1999-2006 Apache Software Foundation. All Rights Reserved.