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 of DsSecurityImpl with added Elytron support.
Author:
Flavia Rainone
See Also:
  • 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

    Modifier and Type
    Method
    Description
    boolean
     
    org.jboss.jca.common.api.metadata.common.Extension
     
    int
     
     

    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

    Methods inherited from interface org.jboss.jca.common.api.metadata.common.SecurityMetadata

    resolveSecurityDomain

    Methods inherited from interface org.jboss.jca.common.api.metadata.ValidatableMetadata

    validate
  • Constructor Details

    • 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 name
      password - user password
      securityContext - specific information used by implementation to define in which context this user/password info belongs
      reauthPlugin - reauthentication plugin
      credentialSourceSupplier - an Elytron credentia supplier
      Throws:
      org.jboss.jca.common.api.validator.ValidateException - in case of validation error
  • Method Details

    • getReauthPlugin

      public org.jboss.jca.common.api.metadata.common.Extension getReauthPlugin()
      Specified by:
      getReauthPlugin in interface org.jboss.jca.common.api.metadata.ds.DsSecurity
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class CredentialImpl
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class CredentialImpl
    • toString

      public String toString()
      Overrides:
      toString in class CredentialImpl