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

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

Best Java code snippets using javax.resource.spi.AuthenticationMechanism.authMechanism (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 (auths != null && auths.length > 0) {
  for (AuthenticationMechanism auth : auths) {
    String authMechString = auth.authMechanism();
    int authMechInt = AuthMechanism.getAuthMechInt(authMechString);
      if (ddAuthMechanism.getAuthMechType().equals(auth.authMechanism())) {
        ignore = true;
        break;
origin: org.apache.openejb/openejb-core

for (final javax.resource.spi.AuthenticationMechanism am : authMechanisms) {
  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

for (final javax.resource.spi.AuthenticationMechanism am : authMechanisms) {
  final AuthenticationMechanism authMechanism = new AuthenticationMechanism();
  authMechanism.setAuthenticationMechanismType(am.authMechanism());
  authMechanism.setCredentialInterface(am.credentialInterface().toString());
  authMechanism.setDescriptions(stringsToTexts(am.description()));
origin: org.glassfish.deployment/dol

int authMechanismValue = getAuthMechVal(authMechanism.authMechanism());
AuthenticationMechanism.CredentialInterface ci = authMechanism.credentialInterface();
String credentialInterface = ora.getCredentialInterfaceName(ci);
javax.resource.spiAuthenticationMechanismauthMechanism

Popular methods of AuthenticationMechanism

  • credentialInterface
  • description

Popular in Java

  • Parsing JSON documents to java classes using gson
  • onCreateOptionsMenu (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getResourceAsStream (ClassLoader)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Runner (org.openjdk.jmh.runner)
  • 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