Examples of SecurableObjectHolder


Examples of org.eclipse.persistence.internal.security.SecurableObjectHolder

    private Vector m_propertyConfigs;

    public JNDINamingServiceConfig() {
        // Without setting the encryption class name the object holder will
        // default to JCE.
        m_securableObjectHolder = new SecurableObjectHolder();
    }
View Full Code Here

Examples of org.eclipse.persistence.internal.security.SecurableObjectHolder

    private Vector m_propertyConfigs;

    public LoginConfig() {
        // Without setting the encryption class name the object holder will
        // default to JCE.
        m_securableObjectHolder = new SecurableObjectHolder();
    }
View Full Code Here

Examples of org.eclipse.persistence.internal.security.SecurableObjectHolder

    private Vector m_propertyConfigs;

    public JNDINamingServiceConfig() {
        // Without setting the encryption class name the object holder will
        // default to JCE.
        m_securableObjectHolder = new SecurableObjectHolder();
    }
View Full Code Here

Examples of org.eclipse.persistence.internal.security.SecurableObjectHolder

        this.dontUseExternalTransactionController();

        this.properties = new Properties();
        this.properties.put("user", "");
        this.isEncryptedPasswordSet = false;
        this.securableObjectHolder = new SecurableObjectHolder();
    }
View Full Code Here

Examples of org.eclipse.persistence.internal.security.SecurableObjectHolder

     * Return the encryption securable holder.
     * Lazy initialize to handle serialization.
     */
    protected SecurableObjectHolder getSecurableObjectHolder() {
        if (securableObjectHolder == null) {
            securableObjectHolder = new SecurableObjectHolder();
            securableObjectHolder.getSecurableObject();
        }
        return securableObjectHolder;
    }
View Full Code Here

Examples of org.eclipse.persistence.internal.security.SecurableObjectHolder

    private Vector m_propertyConfigs;

    public LoginConfig() {
        // Without setting the encryption class name the object holder will
        // default to JCE.
        m_securableObjectHolder = new SecurableObjectHolder();
    }
View Full Code Here

Examples of org.eclipse.persistence.internal.security.SecurableObjectHolder

        this.properties = new Properties();
        this.properties.put("user", "");
        // Bug 4117441 - Secure programming practices, store password in char[]
        this.properties.put("password", new char[0]);
        this.isEncryptedPasswordSet = false;
        this.securableObjectHolder = new SecurableObjectHolder();
    }
View Full Code Here

Examples of org.eclipse.persistence.internal.security.SecurableObjectHolder

     * Return the encryption securable holder.
     * Lazy initialize to handle serialization.
     */
    protected SecurableObjectHolder getSecurableObjectHolder() {
        if (securableObjectHolder == null) {
            securableObjectHolder = new SecurableObjectHolder();
            securableObjectHolder.getSecurableObject();
        }
        return securableObjectHolder;
    }
View Full Code Here

Examples of org.eclipse.persistence.internal.security.SecurableObjectHolder

        if (getPassword() != null) {
            originalPwd = decrypt(getPassword());
        }

        // re-initialize encryption mechanism
        securableObjectHolder = new SecurableObjectHolder();
        securableObjectHolder.setEncryptionClassName(encryptionClassName);

        // re-encrypt password
        setPassword(originalPwd);
    }
View Full Code Here

Examples of org.eclipse.persistence.internal.security.SecurableObjectHolder

        remoteContextProperties = new Hashtable();
        remoteContextProperties.put(Context.INITIAL_CONTEXT_FACTORY, DEFAULT_CONTEXT_FACTORY);
        remoteContextProperties.put(DEFAULT_DEDICATED_CONNECTION_KEY, DEFAULT_DEDICATED_CONNECTION_VALUE);
        remoteContextProperties.put(Context.SECURITY_PRINCIPAL, DEFAULT_USER_NAME);

        this.securableObjectHolder = new SecurableObjectHolder();
    }
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.