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

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

Best Java code snippets using javax.resource.spi.AuthenticationMechanism.credentialInterface (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.apache.openejb/openejb-core

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

final AuthenticationMechanism authMechanism = new AuthenticationMechanism();
authMechanism.setAuthenticationMechanismType(am.authMechanism());
authMechanism.setCredentialInterface(am.credentialInterface().toString());
authMechanism.setDescriptions(stringsToTexts(am.description()));
origin: org.glassfish.connectors/connectors-runtime

String credentialInterfaceName = ora.getCredentialInterfaceName(auth.credentialInterface());
origin: org.glassfish.deployment/dol

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

Popular methods of AuthenticationMechanism

  • authMechanism
  • description

Popular in Java

  • Reactive rest calls using spring rest template
  • setContentView (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • putExtra (Intent)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Runner (org.openjdk.jmh.runner)
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Best plugins for Eclipse
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