Class SecurityFilter.Authorizer
java.lang.Object
com.tangosol.coherence.rest.providers.SecurityFilter.Authorizer
- All Implemented Interfaces:
jakarta.ws.rs.core.SecurityContext
- Enclosing class:
SecurityFilter
-
Field Summary
Fields inherited from interface jakarta.ws.rs.core.SecurityContext
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
-
Constructor Summary
ConstructorsConstructorDescriptionAuthorizer
(String username) Authorizer
(String username, Principal principal, String scheme) -
Method Summary
Modifier and TypeMethodDescriptiongetRole()
boolean
isSecure()
boolean
isUserInRole
(String role) void
setAuthenticationScheme
(String scheme) void
-
Constructor Details
-
Authorizer
-
Authorizer
-
-
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
-
setAuthenticationScheme
-
getRole
-
setRole
-