Class SimpleSecurityContextImpl
java.lang.Object
io.micronaut.jaxrs.runtime.ext.bind.SimpleSecurityContextImpl
- All Implemented Interfaces:
SecurityContext
Implementation of the JAX-RS
SecurityContext
interface.- Since:
- 3.1.0
- Author:
- graemerocher
-
Field Summary
Fields inherited from interface jakarta.ws.rs.core.SecurityContext
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
-
Constructor Summary
ModifierConstructorDescriptionprotected
SimpleSecurityContextImpl
(HttpRequest<?> request) Default constructor. -
Method Summary
-
Constructor Details
-
SimpleSecurityContextImpl
Default constructor.- Parameters:
request
- The request object
-
-
Method Details
-
getUserPrincipal
- Specified by:
getUserPrincipal
in interfaceSecurityContext
-
isUserInRole
- Specified by:
isUserInRole
in interfaceSecurityContext
-
isSecure
public boolean isSecure()- Specified by:
isSecure
in interfaceSecurityContext
-
getAuthenticationScheme
- Specified by:
getAuthenticationScheme
in interfaceSecurityContext
-