Package org.wildfly.security.auth.realm
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
-
-
Field Summary
Fields Modifier and Type Field Description private Attributes
attributes
private List<Credential>
credentials
-
Constructor Summary
Constructors Constructor Description SimpleRealmEntry(List<Credential> credentials)
Construct a new instance.SimpleRealmEntry(List<Credential> credentials, Attributes attributes)
Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Attributes
getAttributes()
Get the entry attributes.List<Credential>
getCredentials()
Get the credentials for this entry.
-
-
-
Field Detail
-
credentials
private final List<Credential> credentials
-
attributes
private final Attributes attributes
-
-
Constructor Detail
-
SimpleRealmEntry
public SimpleRealmEntry(List<Credential> credentials)
Construct a new instance.- Parameters:
credentials
- the list of credentials (notnull
)
-
SimpleRealmEntry
public SimpleRealmEntry(List<Credential> credentials, Attributes attributes)
Construct a new instance.- Parameters:
credentials
- the list of credentials (can not benull
)attributes
- the entry attributes (can not benull
)
-
-
Method Detail
-
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
)
-
-