Package org.exist.security.realm

Examples of org.exist.security.realm.Realm


   
    private LDAPRealm getLdapRealm(SecurityManager sm) throws XPathException {
        try {
            Method mFindRealm = sm.getClass().getDeclaredMethod("findRealmForRealmId", String.class);
            mFindRealm.setAccessible(true);
            Realm realm = (Realm)mFindRealm.invoke(sm, LDAPRealm.ID);
            if(realm == null) {
                throw new XPathException("The LDAP Realm is not in use!");
            }
            return (LDAPRealm)realm;
           
View Full Code Here

TOP

Related Classes of org.exist.security.realm.Realm

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.