public class GlassFishV3SecurityService extends AbstractSecurityService
| Modifier and Type | Class and Description |
|---|---|
static class |
GlassFishV3SecurityService.GlassFishV3AuthenticationContext |
SecurityService.AuthenticationContextAUTH_TYPE| Constructor and Description |
|---|
GlassFishV3SecurityService() |
| 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.Engine |
getEngine() |
protected com.sun.web.security.RealmAdapter |
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() |
void |
prelogin(javax.servlet.http.HttpSession session,
java.lang.Object httpRequest,
java.lang.String servletName) |
acceptsContext, decodeBase64Credentials, endAuthorization, endLogin, endLogout, handleSecurityException, login, 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 void prelogin(javax.servlet.http.HttpSession session,
java.lang.Object httpRequest,
java.lang.String servletName)
prelogin in interface SecurityServiceprelogin in class AbstractSecurityServicepublic 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 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 com.sun.web.security.RealmAdapter getRealm(javax.servlet.http.HttpServletRequest request)