Tabnine Logo
AuthenticationMechanism.description
Code IndexAdd Tabnine to your IDE (free)

How to use
description
method
in
javax.resource.spi.AuthenticationMechanism

Best Java code snippets using javax.resource.spi.AuthenticationMechanism.description (Showing top 5 results out of 315)

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

private ArrayList<AuthenticationMechanism> processAuthenticationMechanism(
   javax.resource.spi.AuthenticationMechanism[] authMechanismAnnotations)
{
 ArrayList<AuthenticationMechanism> authenticationMechanisms = null;
 if (authMechanismAnnotations != null)
 {
   authenticationMechanisms = new ArrayList<AuthenticationMechanism>(authMechanismAnnotations.length);
   for (javax.resource.spi.AuthenticationMechanism authMechanismAnnotation : authMechanismAnnotations)
   {
    ArrayList<LocalizedXsdString> descriptions = null;
    if (authMechanismAnnotation.description() != null && authMechanismAnnotation.description().length != 0)
    {
      descriptions = new ArrayList<LocalizedXsdString>(authMechanismAnnotation.description().length);
      for (String descriptionAnnoptation : authMechanismAnnotation.description())
      {
       descriptions.add(new LocalizedXsdString(descriptionAnnoptation, null));
      }
    }
    XsdString authenticationMechanismType = new XsdString(authMechanismAnnotation
       .authMechanism(), null);
    authenticationMechanisms.add(new AuthenticationMechanismImpl(descriptions, authenticationMechanismType,
                                   CredentialInterfaceEnum
                                    .valueOf(authMechanismAnnotation
                                      .credentialInterface()
                                         .name()), null, null));
   }
 }
 return authenticationMechanisms;
}
origin: org.glassfish.connectors/connectors-runtime

if(auth.description().length > 0){
  description = auth.description()[0];
origin: org.apache.openejb/openejb-core

authMechanism.setAuthenticationMechanismType(am.authMechanism());
authMechanism.setCredentialInterface(am.credentialInterface().toString());
authMechanism.setDescriptions(stringsToTexts(am.description()));
origin: org.apache.tomee/openejb-core

authMechanism.setAuthenticationMechanismType(am.authMechanism());
authMechanism.setCredentialInterface(am.credentialInterface().toString());
authMechanism.setDescriptions(stringsToTexts(am.description()));
origin: org.glassfish.deployment/dol

String[] description = authMechanism.description();
int authMechanismValue = getAuthMechVal(authMechanism.authMechanism());
AuthenticationMechanism.CredentialInterface ci = authMechanism.credentialInterface();
javax.resource.spiAuthenticationMechanismdescription

Popular methods of AuthenticationMechanism

  • authMechanism
  • credentialInterface

Popular in Java

  • Reading from database using SQL prepared statement
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getApplicationContext (Context)
  • getSupportFragmentManager (FragmentActivity)
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • JPanel (javax.swing)
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Github Copilot alternatives
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