A B C D F G H I K N P R S U V

A

ACLActionMapping - class com.pow2.acl.struts.action.ACLActionMapping.
This class extends the com.pow2.struts.action.ToolkitActionMapping class, adding the role property and the relative public "getter" and "setter" methods.
ACLActionMapping() - Constructor for class com.pow2.acl.struts.action.ACLActionMapping
 
ACLActionServlet - class com.pow2.acl.struts.action.ACLActionServlet.
Ask the specified Action instance to handle this request.
ACLActionServlet() - Constructor for class com.pow2.acl.struts.action.ACLActionServlet
 
ACLDAO - class com.pow2.acl.dao.ACLDAO.
Data access object for ACL.
ACLDAO() - Constructor for class com.pow2.acl.dao.ACLDAO
Default protected constructor.
ACLDispatcherAction - class com.pow2.acl.struts.action.ACLDispatcherAction.
Abstract class that extends com.pow2.struts.actions.DispatcherAction.
ACLDispatcherAction() - Constructor for class com.pow2.acl.struts.action.ACLDispatcherAction
 
ACLRoleAction - class com.pow2.acl.struts.action.ACLRoleAction.
Abstract class that extends the ACLAction class.
ACLRoleAction() - Constructor for class com.pow2.acl.struts.action.ACLRoleAction
 
ACLTag - class com.pow2.acl.taglib.ACLTag.
Base tag for ACL tags.
ACLTag() - Constructor for class com.pow2.acl.taglib.ACLTag
Default constructor
Actor - class com.pow2.acl.Actor.
Abstract base class for Group, Role and Permissions classes.
Actor() - Constructor for class com.pow2.acl.Actor
Default Constructor.
Actor(String) - Constructor for class com.pow2.acl.Actor
Constructor.
Actor(long) - Constructor for class com.pow2.acl.Actor
Constructor.
acldao - Static variable in class com.pow2.acl.taglib.ACLTag
ACL Data Access Object

B

booleanValue(boolean) - Method in class com.pow2.acl.taglib.ACLTag
If value is false, return the negated value of result.

C

cat - Variable in class com.pow2.acl.Actor
Log4j category
cat - Static variable in class com.pow2.acl.taglib.ACLTag
Log4j category;
com.pow2.acl - package com.pow2.acl
 
com.pow2.acl.dao - package com.pow2.acl.dao
 
com.pow2.acl.dbforms.interceptors - package com.pow2.acl.dbforms.interceptors
 
com.pow2.acl.struts.action - package com.pow2.acl.struts.action
 
com.pow2.acl.taglib - package com.pow2.acl.taglib
 

D

doEndTag() - Method in class com.pow2.acl.taglib.ACLTag
Process the end tag.
doStartTag() - Method in class com.pow2.acl.taglib.HasUserPermissionTag
Process the start tag for this instance.
doStartTag() - Method in class com.pow2.acl.taglib.IsUserAuthenticatedTag
Process the start tag for this instance.
doStartTag() - Method in class com.pow2.acl.taglib.IsUserInGroupTag
Process the start tag for this instance.
doStartTag() - Method in class com.pow2.acl.taglib.IsUserInRoleTag
Process the start tag for this instance.

F

failureForward(HttpServletRequest, ActionMapping, ActionErrors, String) - Method in class com.pow2.acl.struts.action.ACLDispatcherAction
Get the ActionForward object related to the "failure" forward, and store the new error identified by the errorKey string into the input ActionErrors object.

G

Group - class com.pow2.acl.Group.
Simple container for Group data.
Group() - Constructor for class com.pow2.acl.Group
Default constructor.
Group(String) - Constructor for class com.pow2.acl.Group
Constructor.
Group(long) - Constructor for class com.pow2.acl.Group
Constructor.
GroupInterceptor - class com.pow2.acl.dbforms.interceptors.GroupInterceptor.
DbForm interceptor (hook up class) for ACL Group table.
GroupInterceptor() - Constructor for class com.pow2.acl.dbforms.interceptors.GroupInterceptor
 
getGroup() - Method in class com.pow2.acl.struts.action.ACLActionMapping
Gets the group attribute of the ACLActionMapping object
getId() - Method in class com.pow2.acl.Actor
Gets the id attribute of the Actor object
getName() - Method in class com.pow2.acl.Actor
Gets the name attribute of the Actor object
getRole() - Method in class com.pow2.acl.struts.action.ACLActionMapping
Gets the role attribute of the ACLActionMapping object
getRolePermissions(Role) - Method in class com.pow2.acl.dao.ACLDAO
Get all the permissions for the input role.
getUser() - Method in class com.pow2.acl.taglib.ACLTag
Retrieve the user object from the session context.
getUserGroups(User) - Method in class com.pow2.acl.dao.ACLDAO
Get all the groups for the user.
getUserRoles(User) - Method in class com.pow2.acl.dao.ACLDAO
Get all the roles for the user.
getUserRoles(User, Group) - Method in class com.pow2.acl.dao.ACLDAO
Get all the roles for the user belonging to the input group.
group - Variable in class com.pow2.acl.taglib.ACLTag
group name

H

HasUserPermissionTag - class com.pow2.acl.taglib.HasUserPermissionTag.
HasUserPermission class.
HasUserPermissionTag() - Constructor for class com.pow2.acl.taglib.HasUserPermissionTag
Default constructor
hasUserPermission(User, Permission) - Method in class com.pow2.acl.dao.ACLDAO
Check if the user has got the input permission.
hasUserPermission(User, Group, Permission) - Method in class com.pow2.acl.dao.ACLDAO
Check if the user belonging to the input group has got the input permission.

I

IsUserAuthenticatedTag - class com.pow2.acl.taglib.IsUserAuthenticatedTag.
Checks if the user is authenticated.
IsUserAuthenticatedTag() - Constructor for class com.pow2.acl.taglib.IsUserAuthenticatedTag
Default constructor
IsUserInGroupTag - class com.pow2.acl.taglib.IsUserInGroupTag.
 
IsUserInGroupTag() - Constructor for class com.pow2.acl.taglib.IsUserInGroupTag
Default constructor
IsUserInRoleTag - class com.pow2.acl.taglib.IsUserInRoleTag.
 
IsUserInRoleTag() - Constructor for class com.pow2.acl.taglib.IsUserInRoleTag
Default constructor
id - Variable in class com.pow2.acl.Actor
Actor identifier
init() - Method in class com.pow2.acl.struts.action.ACLActionServlet
Initialize this servlet.
instance() - Static method in class com.pow2.acl.dao.ACLDAO
Get the instance of DAO class.
invalidSessionForward(HttpServletRequest, ActionMapping, ActionErrors) - Method in class com.pow2.acl.struts.action.ACLDispatcherAction
Get the ActionForward object related to the "invalidSession" forward.
isUserInGroup(User, Group) - Method in class com.pow2.acl.dao.ACLDAO
Check if the user belongs to the input group.
isUserInRole(User, Role) - Method in class com.pow2.acl.dao.ACLDAO
Check if the user has got the input role.
isUserInRole(User, Group, Role) - Method in class com.pow2.acl.dao.ACLDAO
Check if the user belonging to the input group has got the input role.
isValidatePermissions() - Method in class com.pow2.acl.struts.action.ACLActionMapping
Gets the validatePermissions attribute of the ACLActionMapping object
isValue() - Method in class com.pow2.acl.taglib.ACLTag
Gets the value attribute of the ACLTag object

K

KEY_USERINTERCEPTOR_NEWKEY - Static variable in class com.pow2.acl.dbforms.interceptors.UserInterceptor
key for the session entry that holds the new user table key

N

name - Variable in class com.pow2.acl.Actor
Actor name
noPermissionsForward(HttpServletRequest, ActionMapping, ActionErrors) - Method in class com.pow2.acl.struts.action.ACLDispatcherAction
Get the ActionForward object related to the "insufficientPermissions" forward.

P

Permission - class com.pow2.acl.Permission.
Simple container for Permission data.
Permission() - Constructor for class com.pow2.acl.Permission
Default constructor.
Permission(String) - Constructor for class com.pow2.acl.Permission
Constructor.
Permission(long) - Constructor for class com.pow2.acl.Permission
Constructor.
PermissionInterceptor - class com.pow2.acl.dbforms.interceptors.PermissionInterceptor.
DbForm interceptor (hook up class) for ACL Group table.
PermissionInterceptor() - Constructor for class com.pow2.acl.dbforms.interceptors.PermissionInterceptor
 
permission - Variable in class com.pow2.acl.taglib.ACLTag
permission name
postInsert(HttpServletRequest, DbFormsConfig, Connection) - Method in class com.pow2.acl.dbforms.interceptors.UserInterceptor
Remove the user key session attribute previously added by preInsert().
preDelete(HttpServletRequest, Hashtable, DbFormsConfig, Connection) - Method in class com.pow2.acl.dbforms.interceptors.GroupInterceptor
Delete all the group related records from ACL_USER_GROUP_ROLE table;
preDelete(HttpServletRequest, Hashtable, DbFormsConfig, Connection) - Method in class com.pow2.acl.dbforms.interceptors.PermissionInterceptor
Delete all the permission related records from ACL_ROLE_PERMISSION table.
preDelete(HttpServletRequest, Hashtable, DbFormsConfig, Connection) - Method in class com.pow2.acl.dbforms.interceptors.RoleInterceptor
Delete all the related records from ACL_USER_GROUP_ROLE and ROLE_PERMISSION tables;
preDelete(HttpServletRequest, Hashtable, DbFormsConfig, Connection) - Method in class com.pow2.acl.dbforms.interceptors.UserInterceptor
Delete all the related records from ACL_USER_GROUP_ROLE table;
preInsert(HttpServletRequest, Hashtable, DbFormsConfig, Connection) - Method in class com.pow2.acl.dbforms.interceptors.GroupInterceptor
Calculate and set a new key for the new Group entry.
preInsert(HttpServletRequest, Hashtable, DbFormsConfig, Connection) - Method in class com.pow2.acl.dbforms.interceptors.PermissionInterceptor
Calculate and set a new key for the new Permission entry.
preInsert(HttpServletRequest, Hashtable, DbFormsConfig, Connection) - Method in class com.pow2.acl.dbforms.interceptors.RoleInterceptor
Calculate and set a new key for the new Role entry.
preInsert(HttpServletRequest, Hashtable, DbFormsConfig, Connection) - Method in class com.pow2.acl.dbforms.interceptors.UserInterceptor
Get a new key for the new User entry.
processActionPerform(Action, ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class com.pow2.acl.struts.action.ACLActionServlet
Ask the specified Action instance to handle this request.

R

Role - class com.pow2.acl.Role.
Simple container for Role data.
Role() - Constructor for class com.pow2.acl.Role
Default constructor.
Role(String) - Constructor for class com.pow2.acl.Role
Constructor.
Role(long) - Constructor for class com.pow2.acl.Role
Constructor.
RoleInterceptor - class com.pow2.acl.dbforms.interceptors.RoleInterceptor.
DbForm interceptor (hook up class) for ACL Group table.
RoleInterceptor() - Constructor for class com.pow2.acl.dbforms.interceptors.RoleInterceptor
 
role - Variable in class com.pow2.acl.taglib.ACLTag
role name

S

setGroup(String) - Method in class com.pow2.acl.struts.action.ACLActionMapping
Sets the group attribute of the ACLActionMapping object
setGroup(String) - Method in class com.pow2.acl.taglib.ACLTag
Sets the group attribute of the ACLTag object
setId(long) - Method in class com.pow2.acl.Actor
Sets the id attribute of the Actor object
setName(String) - Method in class com.pow2.acl.Actor
Sets the name attribute of the Actor object
setPermission(String) - Method in class com.pow2.acl.taglib.ACLTag
Sets the permission attribute of the ACLTag object
setRole(String) - Method in class com.pow2.acl.struts.action.ACLActionMapping
Sets the role attribute of the ACLActionMapping object
setRole(String) - Method in class com.pow2.acl.taglib.ACLTag
Sets the role attribute of the ACLTag object
setValidatePermissions(boolean) - Method in class com.pow2.acl.struts.action.ACLActionMapping
Sets the validatePermissions attribute of the ACLActionMapping object
setValue(boolean) - Method in class com.pow2.acl.taglib.ACLTag
Sets the value attribute of the ACLTag object

U

UserInterceptor - class com.pow2.acl.dbforms.interceptors.UserInterceptor.
DbForm interceptor (hook up class) for User table.
UserInterceptor() - Constructor for class com.pow2.acl.dbforms.interceptors.UserInterceptor
 
userAuthenticated - Variable in class com.pow2.acl.taglib.ACLTag
indicate if the user is authenticated

V

validatePermissions(User, ACLDAO, ActionMapping, HttpServletRequest, ActionErrors) - Method in class com.pow2.acl.struts.action.ACLDispatcherAction
Validate user permissions.
validatePermissions(User, ACLDAO, ActionMapping, HttpServletRequest, ActionErrors) - Method in class com.pow2.acl.struts.action.ACLRoleAction
Validate user permissions.
validateSession(HttpServletRequest) - Method in class com.pow2.acl.struts.action.ACLDispatcherAction
Check if the current session have a valid reference to an User object.
value - Variable in class com.pow2.acl.taglib.ACLTag
 

A B C D F G H I K N P R S U V

Copyright © 2002-2003 Power Of Two S.R.L. All Rights Reserved.