public class VertxSecurityContext extends Object implements javax.ws.rs.core.SecurityContext
Modifier and Type | Field and Description |
---|---|
protected String |
authScheme |
protected SecurityDomain |
domain |
protected boolean |
isSecure |
protected Principal |
principal |
Constructor and Description |
---|
VertxSecurityContext() |
VertxSecurityContext(Principal principal,
SecurityDomain domain,
String authScheme,
boolean secure) |
Modifier and Type | Method and Description |
---|---|
String |
getAuthenticationScheme() |
Principal |
getUserPrincipal() |
boolean |
isSecure() |
boolean |
isUserInRole(String role) |
protected final Principal principal
protected final SecurityDomain domain
protected final String authScheme
protected final boolean isSecure
public VertxSecurityContext(Principal principal, SecurityDomain domain, String authScheme, boolean secure)
public VertxSecurityContext()
public Principal getUserPrincipal()
getUserPrincipal
in interface javax.ws.rs.core.SecurityContext
public boolean isUserInRole(String role)
isUserInRole
in interface javax.ws.rs.core.SecurityContext
public boolean isSecure()
isSecure
in interface javax.ws.rs.core.SecurityContext
public String getAuthenticationScheme()
getAuthenticationScheme
in interface javax.ws.rs.core.SecurityContext
Copyright © 2020 JBoss by Red Hat. All rights reserved.