| java.lang.Object com.salmonllc.remote.server.RemoteReflectionSecurityManager com.salmonllc.remote.server.HttpRemoteReflectionSecurityManager
HttpRemoteReflectionSecurityManager | public class HttpRemoteReflectionSecurityManager extends RemoteReflectionSecurityManager (Code) | | Created by IntelliJ IDEA. User: Fred Cahill Date: Oct 4, 2004 Time: 2:23:20
PM To change this template use Options | File Templates.
|
Method Summary | |
public HttpServletRequest | getReq() | public HttpSession | getSess() | public boolean | isInstantiationAllowed(Class cl) Checks to see if Instantiation is allowed for the passed class, if the
session is new then Instantiation is not allowed.
Parameters: cl - java.lang.Class The class to check to see if allowed toinstantiate. | public boolean | isMethodCallAllowed(Object obj, String sMethod) Checks to see if Instantiation is allowed for the passed class, if the
session is new then Method Call is not allowed.
Parameters: obj - java.lang.Object The object for which you want to execute themethod on. Parameters: sMethod - java.lang.String The method you want to check if you areallowed to execute. | public static boolean | isSecurityPolicySet(HttpSession sess) | public void | setAsSecurityManager() Sets this instance as the RemoteReflectionPolicy for the current session. | public void | setReq(HttpServletRequest req) Framework method, do not call directly. | public void | setSess(HttpSession sess) |
HttpRemoteReflectionSecurityManager | public HttpRemoteReflectionSecurityManager(HttpServletRequest req)(Code) | | Creates an instance of HttpRemoteReflectionSecurityManager based on the
passed HttpServletRequest.
Parameters: req - HttpServletRequest The request to base security on. |
HttpRemoteReflectionSecurityManager | public HttpRemoteReflectionSecurityManager(HttpServletRequest req, String sReflectionAllowed)(Code) | | Creates an instance of HttpRemoteReflectionSecurityManager based on the
passed HttpServletRequest.
Parameters: req - HttpServletRequest The request to base security on. Parameters: String - the name of a Boolean Session Attribute to indicate whetherreflection is allowed or not. |
HttpRemoteReflectionSecurityManager | public HttpRemoteReflectionSecurityManager()(Code) | | No args constructor for the remote reflection security manager
|
isInstantiationAllowed | public boolean isInstantiationAllowed(Class cl)(Code) | | Checks to see if Instantiation is allowed for the passed class, if the
session is new then Instantiation is not allowed.
Parameters: cl - java.lang.Class The class to check to see if allowed toinstantiate. boolean indicates wheather the class is allowed to beinstantiated by the RemoteReflector Servlet |
isMethodCallAllowed | public boolean isMethodCallAllowed(Object obj, String sMethod)(Code) | | Checks to see if Instantiation is allowed for the passed class, if the
session is new then Method Call is not allowed.
Parameters: obj - java.lang.Object The object for which you want to execute themethod on. Parameters: sMethod - java.lang.String The method you want to check if you areallowed to execute. boolean indicates wheather the method is allowed to be executedon the passed object by the RemoteReflector Servlet |
isSecurityPolicySet | public static boolean isSecurityPolicySet(HttpSession sess)(Code) | | Returns true if a security policy is set for this session
|
setAsSecurityManager | public void setAsSecurityManager()(Code) | | Sets this instance as the RemoteReflectionPolicy for the current session.
|
|
|