org.cofax.cms
Class CofaxToolsSecurity


java.lang.Object

  |

  +--org.cofax.cms.CofaxToolsSecurity


public class CofaxToolsSecurity
extends java.lang.Object

CofaxToolsSecurity: CofaxToolsSecurity handles Security for CofaxTools. Checks are run against the modes table in the database according to the user's groups and current publication. Returns true if user has permissions, false if they don't.

Author:
Charles Harvey

Constructor Summary
CofaxToolsSecurity()
           
 
Method Summary
static boolean checkPermissions(DataStore db, javax.servlet.http.HttpSession session, java.lang.String mode)
          Runs current mode request against user permissions and determines if they are allowed to complete action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CofaxToolsSecurity


public CofaxToolsSecurity()
Method Detail

checkPermissions


public static boolean checkPermissions(DataStore db,

                                       javax.servlet.http.HttpSession session,

                                       java.lang.String mode)
Runs current mode request against user permissions and determines if they are allowed to complete action.


Copyright 2001 KnightRidder.com. All Rights Reserved.