Package io.quarkus.undertow.runtime
Class QuarkusUndertowAccount
- java.lang.Object
-
- io.quarkus.undertow.runtime.QuarkusUndertowAccount
-
- All Implemented Interfaces:
io.undertow.security.idm.Account,Serializable
public class QuarkusUndertowAccount extends Object implements io.undertow.security.idm.Account
An Undertow account implementation that maps to the ElytronSecurityIdentity- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description QuarkusUndertowAccount(io.quarkus.security.identity.SecurityIdentity securityIdentity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrincipalgetPrincipal()Set<String>getRoles()io.quarkus.security.identity.SecurityIdentitygetSecurityIdentity()
-
-
-
Method Detail
-
getPrincipal
public Principal getPrincipal()
- Specified by:
getPrincipalin interfaceio.undertow.security.idm.Account
-
getRoles
public Set<String> getRoles()
- Specified by:
getRolesin interfaceio.undertow.security.idm.Account
-
getSecurityIdentity
public io.quarkus.security.identity.SecurityIdentity getSecurityIdentity()
-
-