Class NettySecurityContext
java.lang.Object
org.jboss.resteasy.plugins.server.netty.NettySecurityContext
- All Implemented Interfaces:
jakarta.ws.rs.core.SecurityContext
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
Modifier and TypeFieldDescriptionprotected final String
protected final SecurityDomain
protected final boolean
protected final Principal
Fields inherited from interface jakarta.ws.rs.core.SecurityContext
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
-
Constructor Summary
ConstructorDescriptionNettySecurityContext
(Principal principal, SecurityDomain domain, String authScheme, boolean secure) -
Method Summary
-
Field Details
-
principal
-
domain
-
authScheme
-
isSecure
protected final boolean isSecure
-
-
Constructor Details
-
NettySecurityContext
public NettySecurityContext(Principal principal, SecurityDomain domain, String authScheme, boolean secure) -
NettySecurityContext
public NettySecurityContext()
-
-
Method Details
-
getUserPrincipal
- Specified by:
getUserPrincipal
in interfacejakarta.ws.rs.core.SecurityContext
-
isUserInRole
- Specified by:
isUserInRole
in interfacejakarta.ws.rs.core.SecurityContext
-
isSecure
public boolean isSecure()- Specified by:
isSecure
in interfacejakarta.ws.rs.core.SecurityContext
-
getAuthenticationScheme
- Specified by:
getAuthenticationScheme
in interfacejakarta.ws.rs.core.SecurityContext
-