Tabnine Logo
CredentialImpl
Code IndexAdd Tabnine to your IDE (free)

How to use
CredentialImpl
in
org.jboss.jca.common.metadata.common

Best Java code snippets using org.jboss.jca.common.metadata.common.CredentialImpl (Showing top 8 results out of 315)

origin: org.jboss.ironjacamar.jdk8/ironjacamar-common-impl

@Override
public boolean equals(Object obj)
{
 if (this == obj)
   return true;
 if (!super.equals(obj))
   return false;
 if (!(obj instanceof DsSecurityImpl))
   return false;
 DsSecurityImpl other = (DsSecurityImpl) obj;
 if (reauthPlugin == null)
 {
   if (other.reauthPlugin != null)
    return false;
 }
 else if (!reauthPlugin.equals(other.reauthPlugin))
   return false;
 return true;
}
origin: org.jboss.ironjacamar.jdk8/ironjacamar-common-impl

@Override
public int hashCode()
{
 final int prime = 31;
 int result = super.hashCode();
 result = prime * result + ((reauthPlugin == null) ? 0 : reauthPlugin.hashCode());
 return result;
}
origin: org.jboss.ironjacamar.jdk8/ironjacamar-common-impl

@Override
public void validate() throws ValidateException
{
 //just super.validate(). The reaut-plugin is not mandatory
 super.validate();
}
origin: org.jboss.ironjacamar.jdk8/ironjacamar-common-impl

return new CredentialImpl(userName, password, securityDomain);
origin: org.jboss.as/jboss-as-connector

    Recovery.Tag.forName(reader.getLocalName()) == Recovery.Tag.RECOVER_CREDENTIAL) {
  return new CredentialImpl(userName, password, securityDomain);
} else {
  if (Credential.Tag.forName(reader.getLocalName()) == Credential.Tag.UNKNOWN) {
origin: org.jboss.as/jboss-as-connector

if ((recoveryUsername != null && recoveryPassword != null) || recoverySecurityDomain != null) {
  Credential credential = null;
  credential = new CredentialImpl(recoveryUsername, recoveryPassword, recoverySecurityDomain);
  Extension recoverPlugin = ModelNodeUtil.extractExtension(context, recoveryEnvModel, RECOVERLUGIN_CLASSNAME, RECOVERLUGIN_PROPERTIES);
  recovery = new Recovery(credential, recoverPlugin, noRecovery);
origin: org.jboss.ironjacamar.jdk8/ironjacamar-common-impl

/**
* Create a new SecurityImpl.
*
* @param userName userName
* @param password password
* @param securityDomain securityDomain
* @throws ValidateException ValidateException
*/
public CredentialImpl(String userName, String password, String securityDomain) throws ValidateException
{
 super();
 this.userName = userName;
 this.password = password;
 this.securityDomain = securityDomain;
 this.validate();
}
origin: org.jboss.as/jboss-as-connector

credential = new CredentialImpl(recoveryUsername, recoveryPassword, recoverySecurityDomain);
org.jboss.jca.common.metadata.commonCredentialImpl

Javadoc

Credential implementation

Most used methods

  • <init>
    Create a new SecurityImpl.
  • equals
  • hashCode
  • validate

Popular in Java

  • Making http requests using okhttp
  • onCreateOptionsMenu (Activity)
  • getSystemService (Context)
  • setScale (BigDecimal)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now