Package com.sun.enterprise.security.jmac

Examples of com.sun.enterprise.security.jmac.WebServicesDelegate


    /*
     * Contains the default providers used when none are
     * configured in a factory configuration file.
     */
    static List<EntryInfo> getDefaultProviders() {
        WebServicesDelegate delegate = null;
        SecurityServicesUtil svcUtil = SecurityServicesUtil.getInstance();
        if ( svcUtil != null) {
            delegate = svcUtil.getHabitat().getService(WebServicesDelegate.class);
        }
        if (delegate != null) {
            List<EntryInfo> entries = new ArrayList<EntryInfo>(2);
            entries.add(new EntryInfo(
                    delegate.getDefaultWebServicesProvider(), null));
            entries.add(new EntryInfo(
                    GFServerConfigProvider.class.getName(), null));
            return entries;
        }
        List<EntryInfo> entries = new ArrayList<EntryInfo>(1);
View Full Code Here


    /*
     * Contains the default providers used when none are
     * configured in a factory configuration file.
     */
    static List<EntryInfo> getDefaultProviders() {
        WebServicesDelegate delegate = null;
        SecurityServicesUtil svcUtil = SecurityServicesUtil.getInstance();
        if ( svcUtil != null) {
            delegate = svcUtil.getHabitat().getComponent(WebServicesDelegate.class);
        }
        if (delegate != null) {
            List<EntryInfo> entries = new ArrayList<EntryInfo>(2);
            entries.add(new EntryInfo(
                    delegate.getDefaultWebServicesProvider(), null));
            entries.add(new EntryInfo(
                    GFServerConfigProvider.class.getName(), null));
            return entries;
        }
        List<EntryInfo> entries = new ArrayList<EntryInfo>(1);
View Full Code Here

TOP

Related Classes of com.sun.enterprise.security.jmac.WebServicesDelegate

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.