Examples of AuthenticationMechanismImpl


Examples of org.jboss.jca.common.metadata.ra.common.AuthenticationMechanismImpl

                  //trimming collections
                  description.trimToSize();

                  //building and returning object

                  return new AuthenticationMechanismImpl(description, authenticationMechanismType, credentialInterface,
                        id, cIId);

               }
               else
               {
View Full Code Here

Examples of org.jboss.jca.common.metadata.ra.common.AuthenticationMechanismImpl

               }
            }
            XsdString authenticationMechanismType = new XsdString(authMechanismAnnotation
                  .authMechanism(), null);

            authenticationMechanisms.add(new AuthenticationMechanismImpl(descriptions, authenticationMechanismType,
                                                                         CredentialInterfaceEnum
                                                                            .valueOf(authMechanismAnnotation
                                                                               .credentialInterface()
                                                                               .name()), null));
         }
View Full Code Here

Examples of org.jboss.jca.common.metadata.ra.common.AuthenticationMechanismImpl

                  //trimming collections
                  description.trimToSize();

                  //building and returning object

                  return new AuthenticationMechanismImpl(description, authenticationMechanismType,
                                                         credentialInterface, id);

               }
               else
               {
View Full Code Here

Examples of org.jboss.jca.common.metadata.ra.common.AuthenticationMechanismImpl

        List<ConfigProperty> props = new ArrayList<ConfigProperty>();
        props.add(simpleProperty15(SESSION_DEFAULT_TYPE, STRING_TYPE, JMS_QUEUE));
        props.add(simpleProperty15(TRY_LOCK, INTEGER_TYPE, "0"));
        definitions.add(new ConnectionDefinitionImpl(str(RAMANAGED_CONN_FACTORY), props, str(RA_CONN_FACTORY), str(RA_CONN_FACTORY_IMPL), str(JMS_SESSION), str(HQ_SESSION), null));

        AuthenticationMechanism basicPassword = new AuthenticationMechanismImpl(Collections.<LocalizedXsdString>emptyList(), str(BASIC_PASS), CredentialInterfaceEnum.PasswordCredential, null);
        return new OutboundResourceAdapterImpl(definitions, TransactionSupportEnum.XATransaction, Collections.singletonList(basicPassword), false, null);
    }
View Full Code Here

Examples of org.jboss.jca.common.metadata.ra.common.AuthenticationMechanismImpl

        List<ConfigProperty> props = new ArrayList<ConfigProperty>();
        props.add(simpleProperty15(SESSION_DEFAULT_TYPE, STRING_TYPE, JMS_QUEUE));
        props.add(simpleProperty15(TRY_LOCK, INTEGER_TYPE, "0"));
        definitions.add(new ConnectionDefinitionImpl(str(RAMANAGED_CONN_FACTORY), props, str(RA_CONN_FACTORY), str(RA_CONN_FACTORY_IMPL), str(JMS_SESSION), str(HQ_SESSION), null));

        AuthenticationMechanism basicPassword = new AuthenticationMechanismImpl(Collections.<LocalizedXsdString>emptyList(), str(BASIC_PASS), CredentialInterfaceEnum.PasswordCredential, null);
        return new OutboundResourceAdapterImpl(definitions, TransactionSupportEnum.XATransaction, Collections.singletonList(basicPassword), false, null);
    }
View Full Code Here

Examples of org.jboss.jca.common.metadata.ra.common.AuthenticationMechanismImpl

               }
            }
            XsdString authenticationMechanismType = new XsdString(authMechanismAnnotation
                  .authMechanism(), null);

            authenticationMechanisms.add(new AuthenticationMechanismImpl(descriptions, authenticationMechanismType,
                                                                         CredentialInterfaceEnum
                                                                            .valueOf(authMechanismAnnotation
                                                                               .credentialInterface()
                                                                               .name()), null));
         }
View Full Code Here

Examples of org.jboss.jca.common.metadata.ra.common.AuthenticationMechanismImpl

               }
            }
            XsdString authenticationMechanismType = new XsdString(authMechanismAnnotation
                  .authMechanism(), null);

            authenticationMechanisms.add(new AuthenticationMechanismImpl(descriptions, authenticationMechanismType,
                                                                         CredentialInterfaceEnum
                                                                            .valueOf(authMechanismAnnotation
                                                                               .credentialInterface()
                                                                               .name()), null));
         }
View Full Code Here

Examples of org.jboss.jca.common.metadata.ra.common.AuthenticationMechanismImpl

                  //trimming collections
                  description.trimToSize();

                  //building and returning object

                  return new AuthenticationMechanismImpl(description, authenticationMechanismType, credentialInterface,
                        id, cIId);

               }
               else
               {
View Full Code Here

Examples of org.jboss.jca.common.metadata.ra.common.AuthenticationMechanismImpl

                  //trimming collections
                  description.trimToSize();

                  //building and returning object

                  return new AuthenticationMechanismImpl(description, authenticationMechanismType,
                                                         credentialInterface, id);

               }
               else
               {
View Full Code Here

Examples of org.jboss.jca.common.metadata.ra.common.AuthenticationMechanismImpl

               }
            }
            XsdString authenticationMechanismType = new XsdString(authMechanismAnnotation
                  .authMechanism(), null);

            authenticationMechanisms.add(new AuthenticationMechanismImpl(descriptions, authenticationMechanismType,
                                                                         CredentialInterfaceEnum
                                                                            .valueOf(authMechanismAnnotation
                                                                               .credentialInterface()
                                                                               .name()), null));
         }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.