Package org.apache.cocoon.auth

Examples of org.apache.cocoon.auth.SecurityHandler


            final Iterator i = loginInfos.values().iterator();
            while ( i.hasNext() ) {
                final LoginInfo info = (LoginInfo)i.next();
                if ( info.isUsed() ) {
                    final Iterator appIter = info.getApplications().iterator();
                    SecurityHandler handler = null;
                    while ( appIter.hasNext() ) {
                        final String appName = (String)appIter.next();
                        try {
                            final Application app = (Application)applications.get(appName);
                            app.userWillLogout(info.getUser(), Collections.EMPTY_MAP);
                            handler = app.getSecurityHandler();
                        } catch (Exception ignore) {
                            // we ignore this
                        }
                    }
                    if ( handler != null ) {
                        handler.logout(Collections.EMPTY_MAP, info.getUser());
                    }
                }
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.cocoon.auth.SecurityHandler

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.