Package org.cafesip.jiplet

Examples of org.cafesip.jiplet.Jiplet


                    .getJipletName().iterator();
            while (i.hasNext() == true)
            {
                String jiplet = (String) i.next();

                Jiplet j = context.findJiplet(jiplet);
                if (j == null)
                {
                    throw new JipletException(
                            "While creating security constraint for collection "
                                    + constraint.getJipletResourceCollection()
View Full Code Here


        {
            Iterator i = jipletMap.entrySet().iterator();
            while (i.hasNext() == true)
            {
                Map.Entry entry = (Map.Entry) i.next();
                Jiplet jiplet = (Jiplet) entry.getKey();
                Pair p = (Pair) entry.getValue();
                Realm r = (Realm) p.getFirst();

                String rname = null;
                ClassLoader cl = Thread.currentThread().getContextClassLoader();
                try
                {
                    Thread.currentThread().setContextClassLoader(
                            r.getClass().getClassLoader());
                    rname = realm.getRealmName();
                }
                finally
                {
                    Thread.currentThread().setContextClassLoader(cl);
                }

                if (r.getRealmName().equals(rname) == true)
                {
                    JipletLogger
                            .warn("Removing realm "
                                    + realm.getRealmName()
                                    + " from jiplet "
                                    + jiplet.getName()
                                    + ". No auth. check will be performed for this jiplet anymore.");
                    i.remove();
                }
            }
        }
View Full Code Here

TOP

Related Classes of org.cafesip.jiplet.Jiplet

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.