01: /*
02: * JFolder, Copyright 2001-2006 Gary Steinmetz
03: *
04: * Distributable under LGPL license.
05: * See terms of license at gnu.org.
06: */
07:
08: package org.jfolder.security.model;
09:
10: //base classes
11: import javax.servlet.http.HttpServletRequest;
12:
13: //project specific classes
14: import org.jfolder.common.utils.web.ParameterSet;
15:
16: //other classes
17:
18: public interface UserHolderContext {
19:
20: public boolean isNamePresent();
21:
22: public boolean isSecurityClassPresent();
23:
24: public boolean isRequestPresent();
25:
26: public boolean isParameterSetPresent();
27:
28: public boolean isObjectPresent();
29:
30: public String getName();
31:
32: public String getSecurityClass();
33:
34: public HttpServletRequest getRequest();
35:
36: public ParameterSet getParameterSet();
37:
38: public Object getObject();
39:
40: }
|