A E G I L O R S U

A

APPLICATION - Static variable in interface org.apache.cocoon.auth.ApplicationManager
The string used to store the application in the object model.
APPLICATION_DATA - Static variable in interface org.apache.cocoon.auth.ApplicationManager
The string used to store the application data in the object model .
ATTRIBUTE_PRINCIPAL - Static variable in interface org.apache.cocoon.auth.User
If the security handler provides a Principal object, it should be stored into an attribute with the following name.
AUTHENTICATION_FAILED - Static variable in class org.apache.cocoon.auth.AuthenticationException
 
AUTHENTICATION_FAILED_ACCOUNT_CLOSED - Static variable in class org.apache.cocoon.auth.AuthenticationException
 
AUTHENTICATION_FAILED_ACCOUNT_IS_CLOSED - Static variable in class org.apache.cocoon.auth.AuthenticationException
 
AUTHENTICATION_FAILED_PASSWORD_EXPIRED - Static variable in class org.apache.cocoon.auth.AuthenticationException
 
Application - interface org.apache.cocoon.auth.Application.
This class describes the current application.
ApplicationManager - interface org.apache.cocoon.auth.ApplicationManager.
This is the central component of Cocoon Authentication.
ApplicationStore - interface org.apache.cocoon.auth.ApplicationStore.
This component loads/saves application data for a user.
ApplicationUtil - class org.apache.cocoon.auth.ApplicationUtil.
Utility class that can be used from flow script to access the different application functions of Cocoon Authentication.
ApplicationUtil() - Constructor for class org.apache.cocoon.auth.ApplicationUtil
 
AuthenticationException - exception org.apache.cocoon.auth.AuthenticationException.
This exception is thrown by a SecurityHandler if the authentication fails.
AuthenticationException() - Constructor for class org.apache.cocoon.auth.AuthenticationException
 
AuthenticationException(String, Throwable) - Constructor for class org.apache.cocoon.auth.AuthenticationException
 
AuthenticationException(String) - Constructor for class org.apache.cocoon.auth.AuthenticationException
 
AuthenticationException(Throwable) - Constructor for class org.apache.cocoon.auth.AuthenticationException
 
AuthenticationException(int) - Constructor for class org.apache.cocoon.auth.AuthenticationException
 
AuthenticationException(String, int, Throwable) - Constructor for class org.apache.cocoon.auth.AuthenticationException
 
AuthenticationException(String, int) - Constructor for class org.apache.cocoon.auth.AuthenticationException
 
AuthenticationException(int, Throwable) - Constructor for class org.apache.cocoon.auth.AuthenticationException
 

E

errorCode - Variable in class org.apache.cocoon.auth.AuthenticationException
 

G

getApplication(Map) - Static method in class org.apache.cocoon.auth.ApplicationUtil
Return the current application.
getApplication() - Method in class org.apache.cocoon.auth.ApplicationUtil
Return the current application.
getApplicationStore() - Method in interface org.apache.cocoon.auth.Application
Return the application store for loading/saving user specific data.
getAttribute(String) - Method in interface org.apache.cocoon.auth.Application
Get the value of an application attribute.
getAttribute(String) - Method in interface org.apache.cocoon.auth.User
Get information about the user.
getAttributeNames() - Method in interface org.apache.cocoon.auth.User
Return all available names.
getData(Map) - Static method in class org.apache.cocoon.auth.ApplicationUtil
Return the current user data.
getData() - Method in class org.apache.cocoon.auth.ApplicationUtil
Return the current user data.
getErrorCode() - Method in class org.apache.cocoon.auth.AuthenticationException
 
getId() - Method in interface org.apache.cocoon.auth.SecurityHandler
Return a unique identifier for this security handler.
getId() - Method in interface org.apache.cocoon.auth.User
Return the unique id of this user.
getSecurityHandler() - Method in interface org.apache.cocoon.auth.Application
Return the security handler for this application.
getUser(Map) - Static method in class org.apache.cocoon.auth.ApplicationUtil
Return the current user.
getUser() - Method in class org.apache.cocoon.auth.ApplicationUtil
Return the current user.

I

isLoggedIn(String) - Method in interface org.apache.cocoon.auth.ApplicationManager
Test, if the current user is already logged into the application.
isUserInRole(User, String, Map) - Static method in class org.apache.cocoon.auth.ApplicationUtil
Checks if the user has the given role.
isUserInRole(User, String) - Method in class org.apache.cocoon.auth.ApplicationUtil
Checks if the user has the given role.
isUserInRole(String) - Method in interface org.apache.cocoon.auth.User
Check if the user is in a given role.

L

LOGIN_CONTEXT_PASSWORD_KEY - Static variable in interface org.apache.cocoon.auth.ApplicationManager
The key for the user password in the login context.
LOGIN_CONTEXT_USERNAME_KEY - Static variable in interface org.apache.cocoon.auth.ApplicationManager
The key for the user name in the login context.
LOGOUT_CONTEXT_MODE_KEY - Static variable in interface org.apache.cocoon.auth.ApplicationManager
The key for the logout method in the logout context.
LOGOUT_MODE_KEEP_SESSION - Static variable in interface org.apache.cocoon.auth.ApplicationManager
logout mode: don't terminate the session.
LOGOUT_MODE_TERMINATE_SESSION_IF_UNUSED - Static variable in interface org.apache.cocoon.auth.ApplicationManager
logout mode: terminate session if the user is not logged into any application anymore (default).
loadApplicationData(User, Application) - Method in interface org.apache.cocoon.auth.ApplicationStore
Load data for the given user and application.
login(String, Map) - Method in interface org.apache.cocoon.auth.ApplicationManager
Log the user in to the application.
login(Map) - Method in interface org.apache.cocoon.auth.SecurityHandler
Try to authenticate the user.
logout(String, Map) - Method in interface org.apache.cocoon.auth.ApplicationManager
Logout the user from an application.
logout(Map, User) - Method in interface org.apache.cocoon.auth.SecurityHandler
This notifies the security-handler that a user logs out.

O

org.apache.cocoon.auth - package org.apache.cocoon.auth
 

R

removeAttribute(String) - Method in interface org.apache.cocoon.auth.Application
Remove an application attribute.
removeAttribute(String) - Method in interface org.apache.cocoon.auth.User
Remove an information about the user.

S

SecurityHandler - interface org.apache.cocoon.auth.SecurityHandler.
The Security Handler A security handler is the connection between the web application and the backend system managing the users.
saveApplicationData(User, Application, Object) - Method in interface org.apache.cocoon.auth.ApplicationStore
Save the data for the given user and application.
setAttribute(String, Object) - Method in interface org.apache.cocoon.auth.Application
Set an application attribute.
setAttribute(String, Object) - Method in interface org.apache.cocoon.auth.User
Set an information about the user.

U

USER - Static variable in interface org.apache.cocoon.auth.ApplicationManager
The string used to store the user in the object model and the prefix for the session.
User - interface org.apache.cocoon.auth.User.
This object represents the current user.
userDidLogin(User, Map) - Method in interface org.apache.cocoon.auth.Application
Notify the application about a successful login of a user.
userIsAccessing(User) - Method in interface org.apache.cocoon.auth.Application
Notify the application about a user using the application in the current request.
userWillLogout(User, Map) - Method in interface org.apache.cocoon.auth.Application
Notify the application about a logout of a user.

A E G I L O R S U

Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.