Class ElytronAccount

java.lang.Object
org.wildfly.elytron.web.undertow.server.ElytronAccount
All Implemented Interfaces:
io.undertow.security.idm.Account, Serializable

public class ElytronAccount extends Object implements io.undertow.security.idm.Account
A wrapper around SecurityIdentity to provide an implementation of Account as required by Undertow.
Author:
Darran Lofthouse
See Also:
  • Method Details

    • getPrincipal

      public Principal getPrincipal()
      Specified by:
      getPrincipal in interface io.undertow.security.idm.Account
      See Also:
      • Account.getPrincipal()
    • getRoles

      public Set<String> getRoles()
      Specified by:
      getRoles in interface io.undertow.security.idm.Account
      See Also:
      • Account.getRoles()