public class SecurityContextInjectee extends Object implements SecurityContext
SecurityContext instance.BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH| Constructor and Description |
|---|
SecurityContextInjectee() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
String |
getAuthenticationScheme() |
Principal |
getUserPrincipal() |
int |
hashCode() |
boolean |
isSecure() |
boolean |
isUserInRole(String role) |
void |
setRequest(ContainerRequestContext containerRequest)
Set request instance, where to take the actual security context from.
|
public void setRequest(ContainerRequestContext containerRequest)
containerRequest - public Principal getUserPrincipal()
getUserPrincipal in interface SecurityContextpublic boolean isUserInRole(String role)
isUserInRole in interface SecurityContextpublic boolean isSecure()
isSecure in interface SecurityContextpublic String getAuthenticationScheme()
getAuthenticationScheme in interface SecurityContextCopyright © 2007-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.