org.eclipse.jetty.plus.annotation
Class RunAs
java.lang.Object
org.eclipse.jetty.plus.annotation.RunAs
public class RunAs
- extends Object
RunAs
Represents a <run-as> element in web.xml, or a runAs annotation.
Constructor Summary |
RunAs()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RunAs
public RunAs()
setTargetClass
public void setTargetClass(Class clazz)
getTargetClass
public Class getTargetClass()
setRoleName
public void setRoleName(String roleName)
getRoleName
public String getRoleName()
setRunAs
public void setRunAs(ServletHolder holder,
SecurityHandler securityHandler)
throws ServletException
- Throws:
ServletException
getServletClassNameForHolder
public static String getServletClassNameForHolder(ServletHolder holder)
throws ServletException
- Throws:
ServletException
Copyright © 1995-2009 Mort Bay Consulting. All Rights Reserved.