public class ThreadLocalSecurityContext extends AbstractRestThreadLocalProxy<javax.ws.rs.core.SecurityContext> implements javax.ws.rs.core.SecurityContext
| Modifier | Constructor and Description |
|---|---|
protected |
ThreadLocalSecurityContext() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthenticationScheme() |
Principal |
getUserPrincipal() |
boolean |
isSecure() |
boolean |
isUserInRole(String role) |
find, get, remove, setpublic String getAuthenticationScheme()
getAuthenticationScheme in interface javax.ws.rs.core.SecurityContextpublic Principal getUserPrincipal()
getUserPrincipal in interface javax.ws.rs.core.SecurityContextpublic boolean isSecure()
isSecure in interface javax.ws.rs.core.SecurityContextpublic boolean isUserInRole(String role)
isUserInRole in interface javax.ws.rs.core.SecurityContextCopyright © 1999–2014 The Apache Software Foundation. All rights reserved.