|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AccessController
An access controller allows authenticating and authorizing identities.
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_PREFIX
The default prefix for the access control namespace. |
static java.lang.String |
NAMESPACE
The access control namespace URI. |
static java.lang.String |
ROLE
The Avalon role. |
Method Summary | |
---|---|
boolean |
authenticate(org.apache.cocoon.environment.Request request)
Authenticates a request. |
boolean |
authorize(org.apache.cocoon.environment.Request request)
Authorizes a request inside a publication. |
AccreditableManager |
getAccreditableManager()
Returns the accreditable manager. |
Authorizer[] |
getAuthorizers()
|
PolicyManager |
getPolicyManager()
Returns the policy manager. |
void |
setupIdentity(org.apache.cocoon.environment.Request request)
Initializes the identity for this access controller. |
Field Detail |
---|
static final java.lang.String NAMESPACE
static final java.lang.String DEFAULT_PREFIX
static final java.lang.String ROLE
Method Detail |
---|
boolean authenticate(org.apache.cocoon.environment.Request request) throws AccessControlException
request
- A request.
AccessControlException
- when something went wrong.boolean authorize(org.apache.cocoon.environment.Request request) throws AccessControlException
request
- A request.
AccessControlException
- when something went wrong.void setupIdentity(org.apache.cocoon.environment.Request request) throws AccessControlException
request
- The request that contains the identity information.
AccessControlException
- when something went wrong.AccreditableManager getAccreditableManager()
PolicyManager getPolicyManager()
Authorizer[] getAuthorizers()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |