Package org.eclipse.jetty.server
Interface UserIdentity.Scope
-
- All Known Implementing Classes:
AntWebAppContext.AntServletHolder,ServletHolder
- Enclosing interface:
- UserIdentity
public static interface UserIdentity.ScopeA UserIdentity Scope. A scope is the environment in which a User Identity is to be interpreted. Typically it is set by the target servlet of a request.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContextHandlergetContextHandler()java.lang.StringgetContextPath()java.lang.StringgetName()java.util.Map<java.lang.String,java.lang.String>getRoleRefMap()
-
-
-
Method Detail
-
getContextHandler
ContextHandler getContextHandler()
- Returns:
- The context handler that the identity is being considered within
-
getContextPath
java.lang.String getContextPath()
- Returns:
- The context path that the identity is being considered within
-
getName
java.lang.String getName()
- Returns:
- The name of the identity context. Typically this is the servlet name.
-
getRoleRefMap
java.util.Map<java.lang.String,java.lang.String> getRoleRefMap()
- Returns:
- A map of role reference names that converts from names used by application code to names used by the context deployment.
-
-