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.
 
Method Summary
 Accreditable getAccreditable()
           
 java.lang.String getMethod()
           
 Role getRole()
           
 

Field Detail

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
Method Detail

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.