Package org.exolab.jms.net.connector

Examples of org.exolab.jms.net.connector.ConnectionRequestInfo


     * @param principal the principal to use. May be <code>null</code>
     * @throws Exception for any error
     */
    protected ManagedConnectionAcceptor createAcceptor(Principal principal)
            throws Exception {
        ConnectionRequestInfo info = getAcceptorConnectionRequestInfo();
        Authenticator authenticator = new TestAuthenticator(principal);
        ManagedConnectionFactory factory = new HTTPSManagedConnectionFactory();
        return factory.createManagedConnectionAcceptor(authenticator, info);
    }
View Full Code Here


     * @param principal the principal to use. May be <code>null</code>
     * @throws Exception for any error
     */
    protected ManagedConnectionAcceptor createAcceptor(Principal principal)
        throws Exception {
        ConnectionRequestInfo info = getAcceptorConnectionRequestInfo();
        Authenticator authenticator = new TestAuthenticator(principal);
        ManagedConnectionFactory factory = new HTTPManagedConnectionFactory();
        return factory.createManagedConnectionAcceptor(authenticator, info);
    }
View Full Code Here

TOP

Related Classes of org.exolab.jms.net.connector.ConnectionRequestInfo

Copyright © 2018 www.massapicom. 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.