public class TomcatSecurityService extends AbstractSecurityService
SecurityService.AuthenticationContextAUTH_TYPE| Constructor and Description |
|---|
TomcatSecurityService() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
authorize(AbstractSecurityContext context) |
void |
configure(java.util.Map<java.lang.String,java.lang.String> params) |
protected org.apache.catalina.Context |
getContext(javax.servlet.http.HttpServletRequest request) |
protected org.apache.catalina.Engine |
getEngine() |
protected java.security.Principal |
getPrincipal(javax.servlet.http.HttpServletRequest httpRequest) |
protected org.apache.catalina.Realm |
getRealm(javax.servlet.http.HttpServletRequest request) |
protected org.apache.catalina.connector.Request |
getRequest(javax.servlet.http.HttpServletRequest request) |
protected java.lang.reflect.Field |
getRequestField() |
protected org.apache.catalina.Session |
getSession(javax.servlet.http.HttpServletRequest httpRequest,
boolean create) |
java.security.Principal |
login(java.lang.Object credentials,
java.lang.String charset) |
void |
logout() |
acceptsContext, decodeBase64Credentials, endAuthorization, endLogin, endLogout, handleSecurityException, login, prelogin, startAuthorization, tryReloginprotected java.lang.reflect.Field getRequestField()
protected org.apache.catalina.Engine getEngine()
public void configure(java.util.Map<java.lang.String,java.lang.String> params)
public java.security.Principal login(java.lang.Object credentials,
java.lang.String charset)
throws SecurityServiceException
SecurityServiceExceptionpublic java.lang.Object authorize(AbstractSecurityContext context) throws java.lang.Exception
java.lang.Exceptionpublic void logout()
throws SecurityServiceException
SecurityServiceExceptionprotected java.security.Principal getPrincipal(javax.servlet.http.HttpServletRequest httpRequest)
protected org.apache.catalina.Session getSession(javax.servlet.http.HttpServletRequest httpRequest,
boolean create)
protected org.apache.catalina.connector.Request getRequest(javax.servlet.http.HttpServletRequest request)
protected org.apache.catalina.Context getContext(javax.servlet.http.HttpServletRequest request)
protected org.apache.catalina.Realm getRealm(javax.servlet.http.HttpServletRequest request)