Examples of userWillLogout()


Examples of org.apache.cocoon.auth.Application.userWillLogout()

            final Map loginInfos = (Map)session.getAttribute(LOGIN_INFO_KEY);
            if ( loginInfos != null ) {
                final LoginInfo info = (LoginInfo)loginInfos.get(securityHandlerKey);
                if ( info != null ) {
                    // notify the application
                    application.userWillLogout(info.user, logoutContext);

                    info.decUsageCounter(appName);
                    if ( info.isUsed() ) {
                        session.setAttribute(LOGIN_INFO_KEY, loginInfos);
                    } else {
View Full Code Here

Examples of org.apache.cocoon.auth.Application.userWillLogout()

                    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
                        }
                    }
View Full Code Here

Examples of org.apache.cocoon.auth.Application.userWillLogout()

            final Map loginInfos = (Map)session.getAttribute(LOGIN_INFO_KEY);
            if ( loginInfos != null ) {
                final LoginInfo info = (LoginInfo)loginInfos.get(app.getSecurityHandler().getId());
                if ( info != null ) {
                    // notify the application
                    app.userWillLogout(info.user, logoutContext);

                    info.decUsageCounter(appName);
                    if ( info.isUsed() ) {
                        session.setAttribute(LOGIN_INFO_KEY, loginInfos);
                    } else {
View Full Code Here

Examples of org.apache.cocoon.auth.Application.userWillLogout()

            final Map loginInfos = (Map)session.getAttribute(LOGIN_INFO_KEY);
            if ( loginInfos != null ) {
                final LoginInfo info = (LoginInfo)loginInfos.get(app.getSecurityHandler().getId());
                if ( info != null ) {
                    // notify the application
                    app.userWillLogout(info.user, logoutContext);

                    info.decUsageCounter(appName);
                    if ( info.isUsed() ) {
                        session.setAttribute(LOGIN_INFO_KEY, loginInfos);
                    } else {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.