| org.apache.cocoon.components.modules.input.AbstractInputModule org.apache.lenya.cms.cocoon.components.modules.input.AccessControlModule
AccessControlModule | public class AccessControlModule extends AbstractInputModule implements Serviceable(Code) | |
Input module for access control attributes.
Attributes:
user-id - the ID of the currently logged-in user
user-name - the full name of the currently logged-in user
user-name:{user-id} - the full name of a specific user
user-email - the e-mail address of the currently logged-in user
user-email:{user-id} - the e-mail address of a specific user
ip-address - the IP address of the client machine
role-ids - the role IDs which are granted to the current identity
user-manager - the user manager object
group-manager - the group manager object
iprange-manager - the IP range manager object
role-manager - the role manager object
|
GROUP_MANAGER | final public static String GROUP_MANAGER(Code) | | GROUP_MANAGER The group manager
|
IP_ADDRESS | final public static String IP_ADDRESS(Code) | | IP_ADDRESS The IP address
|
IP_RANGE_MANAGER | final public static String IP_RANGE_MANAGER(Code) | | IP_RANGE_MANAGER The IP range manager
|
PARAMETER_NAMES | final static String[] PARAMETER_NAMES(Code) | | The names of the AccessControlModule parameters.
|
ROLE_IDS | final public static String ROLE_IDS(Code) | | ROLE_IDS The role ids
|
ROLE_MANAGER | final public static String ROLE_MANAGER(Code) | | ROLE_MANAGER The role manager
|
SSL | final public static String SSL(Code) | | Returns if the current page is SSL protected (true|false).
|
USER_EMAIL | final public static String USER_EMAIL(Code) | | USER_EMAIL The user email, optional: provide the user ID after a colon
|
USER_ID | final public static String USER_ID(Code) | | USER_ID The user id
|
USER_MANAGER | final public static String USER_MANAGER(Code) | | USER_MANAGER The user manager
|
USER_NAME | final public static String USER_NAME(Code) | | USER_NAME The user name, optional: provide the user ID after a colon
|
getUser | protected User getUser(Request request, String[] parameters, Identity identity) throws ConfigurationException(Code) | | Returns the user specified with parameter[1], falling back to the currently logged in user.
Parameters: request - The request. Parameters: parameters - The parameters. Parameters: identity - The logged in identity. A user or null if no user is specified or logged in. throws: ConfigurationException - if an error occurs. |
service | public void service(ServiceManager _manager) throws ServiceException(Code) | | See Also: org.apache.avalon.framework.service.Serviceable.service(org.apache.avalon.framework.service.ServiceManager) |
Fields inherited from org.apache.cocoon.components.modules.input.AbstractInputModule | protected HashMap settings(Code)(Java Doc)
|
|
|