Class NettySecurityContext
java.lang.Object
org.glassfish.jersey.netty.httpserver.NettySecurityContext
- All Implemented Interfaces:
SecurityContext
-
Field Summary
Fields inherited from interface jakarta.ws.rs.core.SecurityContext
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.netty.channel.ChannelHandlerContextbooleanisSecure()booleanisUserInRole(String role)
-
Constructor Details
-
NettySecurityContext
public NettySecurityContext(io.netty.channel.ChannelHandlerContext ctx)
-
-
Method Details
-
getNettyContext
public io.netty.channel.ChannelHandlerContext getNettyContext() -
isUserInRole
- Specified by:
isUserInRolein interfaceSecurityContext
-
isSecure
public boolean isSecure()- Specified by:
isSecurein interfaceSecurityContext
-
getUserPrincipal
- Specified by:
getUserPrincipalin interfaceSecurityContext
-
getAuthenticationScheme
- Specified by:
getAuthenticationSchemein interfaceSecurityContext
-