Class AuthAccount

java.lang.Object
com.eka.middleware.auth.AuthAccount
All Implemented Interfaces:
io.undertow.security.idm.Account, Serializable

public class AuthAccount extends Object implements io.undertow.security.idm.Account
See Also:
  • Field Details

  • Constructor Details

    • AuthAccount

      public AuthAccount(String userId)
  • Method Details

    • getUserId

      public String getUserId()
    • getPrincipal

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

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

      public Map<String,Object> getAuthProfile()
    • addProfileAttribute

      public void addProfileAttribute(String name, Object value)
    • setProfile

      public void setProfile(Map<String,Object> profile)