public class NetworkSecurityContext extends Object implements javax.ws.rs.core.SecurityContext
| Constructor and Description |
|---|
NetworkSecurityContext(javax.servlet.ServletRequest request) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthenticationScheme() |
javax.servlet.ServletRequest |
getRequest() |
Principal |
getUserPrincipal() |
boolean |
isSecure() |
boolean |
isUserInRole(String role) |
public NetworkSecurityContext(javax.servlet.ServletRequest request)
public String getAuthenticationScheme()
getAuthenticationScheme in interface javax.ws.rs.core.SecurityContextpublic boolean isSecure()
isSecure in interface javax.ws.rs.core.SecurityContextpublic Principal getUserPrincipal()
getUserPrincipal in interface javax.ws.rs.core.SecurityContextpublic boolean isUserInRole(String role)
isUserInRole in interface javax.ws.rs.core.SecurityContextpublic javax.servlet.ServletRequest getRequest()
Copyright © 2014. All Rights Reserved.