|
||||||||
| 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
|
static java.lang.String |
NAMESPACE
|
static java.lang.String |
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. |
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.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||