Package org.apache.isis.metamodel.authentication

Examples of org.apache.isis.metamodel.authentication.AuthenticationSession


            final long lastAccessedTime = session.getLastAccessedTime();
            str.append(new Date(lastAccessedTime));
            str.append(" \t");

            final AuthenticationSession nofSession = (AuthenticationSession) session.getAttribute("NOF_SESSION_ATTRIBUTE");
            if (nofSession != null) {
                str.append(nofSession.getUserName());
            }

            str.append("\n");
        }
        return str.toString();
View Full Code Here


    public void sessionDestroyed(final HttpSessionEvent event) {
        final HttpSession session = event.getSession();
        SessionAccess.removeSession(session);

        final Context context = (Context) session.getAttribute(NOF_SESSION_ATTRIBUTE);
        final AuthenticationSession nofSession = context.getSession();
        if (nofSession != null) {
            SessionAccess.logoffUser(nofSession);
        }

    }
View Full Code Here

TOP

Related Classes of org.apache.isis.metamodel.authentication.AuthenticationSession

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.