|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.jaxrs.impl.tl.AbstractThreadLocalProxy<javax.ws.rs.core.SecurityContext>
org.apache.cxf.jaxrs.impl.tl.ThreadLocalSecurityContext
public class ThreadLocalSecurityContext
| Field Summary |
|---|
| Fields inherited from interface javax.ws.rs.core.SecurityContext |
|---|
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH |
| Constructor Summary | |
|---|---|
ThreadLocalSecurityContext()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getAuthenticationScheme()
|
java.security.Principal |
getUserPrincipal()
|
boolean |
isSecure()
|
boolean |
isUserInRole(java.lang.String role)
|
| Methods inherited from class org.apache.cxf.jaxrs.impl.tl.AbstractThreadLocalProxy |
|---|
get, remove, set |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThreadLocalSecurityContext()
| Method Detail |
|---|
public java.lang.String getAuthenticationScheme()
getAuthenticationScheme in interface javax.ws.rs.core.SecurityContextpublic java.security.Principal getUserPrincipal()
getUserPrincipal in interface javax.ws.rs.core.SecurityContextpublic boolean isSecure()
isSecure in interface javax.ws.rs.core.SecurityContextpublic boolean isUserInRole(java.lang.String role)
isUserInRole in interface javax.ws.rs.core.SecurityContext
|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||