org.jboss.resteasy.plugins.server.servlet
public class ServletSecurityContext extends Object implements SecurityContext
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
Constructor and Description |
---|
ServletSecurityContext(javax.servlet.http.HttpServletRequest request) |
Modifier and Type | Method and Description |
---|---|
String |
getAuthenticationScheme() |
Principal |
getUserPrincipal() |
boolean |
isSecure() |
boolean |
isUserInRole(String role) |
public ServletSecurityContext(javax.servlet.http.HttpServletRequest request)
public Principal getUserPrincipal()
getUserPrincipal
in interface SecurityContext
public boolean isUserInRole(String role)
isUserInRole
in interface SecurityContext
public boolean isSecure()
isSecure
in interface SecurityContext
public String getAuthenticationScheme()
getAuthenticationScheme
in interface SecurityContext
Copyright © 2014. All Rights Reserved.