Class SimpleRealmEntry

java.lang.Object
org.wildfly.security.auth.realm.SimpleRealmEntry

public class SimpleRealmEntry extends Object
A simple in-memory password-based entry for basic realm implementations.
Author:
David M. Lloyd
  • Constructor Details

    • SimpleRealmEntry

      public SimpleRealmEntry(List<Credential> credentials)
      Construct a new instance.
      Parameters:
      credentials - the list of credentials (not null)
    • SimpleRealmEntry

      public SimpleRealmEntry(List<Credential> credentials, Attributes attributes)
      Construct a new instance.
      Parameters:
      credentials - the list of credentials (can not be null)
      attributes - the entry attributes (can not be null)
  • Method Details

    • getCredentials

      public List<Credential> getCredentials()
      Get the credentials for this entry.
      Returns:
      the credentials (not null)
    • getAttributes

      public Attributes getAttributes()
      Get the entry attributes.
      Returns:
      the entry attributes (not null)