Package org.apache.felix.karaf.jaas.config

Examples of org.apache.felix.karaf.jaas.config.JaasRealm


    public void unregister(JaasRealm realm, Map<String,?> properties) {
        realms.remove(realm);
    }

    public AppConfigurationEntry[] getAppConfigurationEntry(String name) {
        JaasRealm realm = null;
        for (JaasRealm r : realms) {
            if (r.getName().equals(name)) {
                if (realm == null || r.getRank() > realm.getRank()) {
                    realm = r;
                }
            }
        }
        if (realm != null) {
            return realm.getEntries();
        }
        return null;
    }
View Full Code Here

TOP

Related Classes of org.apache.felix.karaf.jaas.config.JaasRealm

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.