Class DsSecurityImpl
- java.lang.Object
-
- org.jboss.as.connector.metadata.common.CredentialImpl
-
- org.jboss.as.connector.metadata.ds.DsSecurityImpl
-
- All Implemented Interfaces:
Serializable,Credential,DsSecurity,org.jboss.jca.common.api.metadata.common.Credential,org.jboss.jca.common.api.metadata.common.SecurityMetadata,org.jboss.jca.common.api.metadata.ds.DsSecurity,org.jboss.jca.common.api.metadata.JCAMetadata,org.jboss.jca.common.api.metadata.ValidatableMetadata
public class DsSecurityImpl extends CredentialImpl implements DsSecurity, Credential
Extension ofDsSecurityImplwith added Elytron support.- Author:
- Flavia Rainone
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jboss.as.connector.metadata.api.common.Credential
Credential.Attribute, Credential.Tag
-
Nested classes/interfaces inherited from interface org.jboss.as.connector.metadata.api.ds.DsSecurity
DsSecurity.Tag
-
-
Constructor Summary
Constructors Constructor Description DsSecurityImpl(String userName, String password, String securityContext, org.wildfly.common.function.ExceptionSupplier<org.wildfly.security.credential.source.CredentialSource,Exception> credentialSourceSupplier, org.jboss.jca.common.api.metadata.common.Extension reauthPlugin)Create a new DsSecurityImpl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)org.jboss.jca.common.api.metadata.common.ExtensiongetReauthPlugin()inthashCode()StringtoString()-
Methods inherited from class org.jboss.as.connector.metadata.common.CredentialImpl
getPassword, getSecurityDomain, getUserName, resolveSecurityDomain, validate
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jboss.jca.common.api.metadata.common.Credential
getPassword, getSecurityDomain, getUserName
-
-
-
-
Constructor Detail
-
DsSecurityImpl
public DsSecurityImpl(String userName, String password, String securityContext, org.wildfly.common.function.ExceptionSupplier<org.wildfly.security.credential.source.CredentialSource,Exception> credentialSourceSupplier, org.jboss.jca.common.api.metadata.common.Extension reauthPlugin) throws org.jboss.jca.common.api.validator.ValidateException
Create a new DsSecurityImpl.- Parameters:
userName- user namepassword- user passwordsecurityContext- specific information used by implementation to define in which context this user/password info belongsreauthPlugin- reauthentication plugincredentialSourceSupplier- an Elytron credentia supplier- Throws:
org.jboss.jca.common.api.validator.ValidateException- in case of validation error
-
-
Method Detail
-
getReauthPlugin
public org.jboss.jca.common.api.metadata.common.Extension getReauthPlugin()
- Specified by:
getReauthPluginin interfaceorg.jboss.jca.common.api.metadata.ds.DsSecurity
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classCredentialImpl
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCredentialImpl
-
toString
public String toString()
- Overrides:
toStringin classCredentialImpl
-
-