public class AbstractSecurityContext extends Object implements SecurityContext
| Constructor and Description |
|---|
AbstractSecurityContext(javax.servlet.http.HttpServletRequest req) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthType() |
String |
getRemoteUser() |
Principal |
getUserPrincipal() |
boolean |
isAuthenticated() |
boolean |
isSecure() |
boolean |
isUserInRole(String roleName) |
public AbstractSecurityContext(javax.servlet.http.HttpServletRequest req)
public boolean isSecure()
isSecure in interface SecurityContextpublic String getAuthType()
getAuthType in interface SecurityContextpublic String getRemoteUser()
getRemoteUser in interface SecurityContextpublic Principal getUserPrincipal()
getUserPrincipal in interface SecurityContextpublic boolean isUserInRole(String roleName)
isUserInRole in interface SecurityContextpublic boolean isAuthenticated()
isAuthenticated in interface SecurityContextCopyright © 2003-2019 GateIn. All Rights Reserved.