Class SimpleRealmEntry
java.lang.Object
org.wildfly.security.auth.realm.SimpleRealmEntry
A simple in-memory password-based entry for basic realm implementations.
- Author:
- David M. Lloyd
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleRealmEntry(List<org.wildfly.security.credential.Credential> credentials) Construct a new instance.SimpleRealmEntry(List<org.wildfly.security.credential.Credential> credentials, org.wildfly.security.authz.Attributes attributes) Construct a new instance. -
Method Summary
Modifier and TypeMethodDescriptionorg.wildfly.security.authz.AttributesGet the entry attributes.List<org.wildfly.security.credential.Credential> Get the credentials for this entry.
-
Constructor Details
-
SimpleRealmEntry
Construct a new instance.- Parameters:
credentials- the list of credentials (notnull)
-
SimpleRealmEntry
public SimpleRealmEntry(List<org.wildfly.security.credential.Credential> credentials, org.wildfly.security.authz.Attributes attributes) Construct a new instance.- Parameters:
credentials- the list of credentials (can not benull)attributes- the entry attributes (can not benull)
-
-
Method Details
-
getCredentials
Get the credentials for this entry.- Returns:
- the credentials (not
null)
-
getAttributes
public org.wildfly.security.authz.Attributes getAttributes()Get the entry attributes.- Returns:
- the entry attributes (not
null)
-