public class SecurityFilter.Authorizer extends Object implements SecurityContext
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH| Constructor and Description |
|---|
Authorizer(SecurityFilter.User user) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthenticationScheme() |
Principal |
getUserPrincipal() |
boolean |
isSecure() |
boolean |
isUserInRole(String role) |
public Authorizer(SecurityFilter.User user)
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-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.