Package utils

Examples of utils.Secure


        render();
    }

    @Before
    public static void login() {
        Secure secure = getActionAnnotation(Secure.class);
        Logger.info("login checking , user id = " + session.get("USER_ID"));
        if (secure != null && secure.login()) {
            if (session.get("USER_ID") == null) {
                Logger.info("user id is null , need login");
                Users.needLogin();
            }
            String userId = session.get("USER_ID").toString();
View Full Code Here

TOP

Related Classes of utils.Secure

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.