Package com.alibaba.dubbo.registry.common.domain

Examples of com.alibaba.dubbo.registry.common.domain.User


    public void index(Map<String, Object> context) {

    }

    public boolean create(Map<String, Object> context) {
        User user = new User();
        user.setOperator(operator);
        user.setOperatorAddress(operatorAddress);
        user.setPassword((String) context.get("newPassword"));
        user.setUsername(operator);

        boolean sucess = userDAO.updatePassword(user, (String) context.get("oldPassword"));
        if (!sucess)
            context.put("message", getMessage("passwd.oldwrong"));
        return sucess;
View Full Code Here


    @Override
    protected void init() throws Exception {
    }

    public void invoke(PipelineContext pipelineContext) throws Exception {
        User user = (User) request.getSession().getAttribute(WebConstants.CURRENT_USER_KEY);
        invokeCheckServicePrivilege(user);
        pipelineContext.invokeNext();
    }
View Full Code Here

TOP

Related Classes of com.alibaba.dubbo.registry.common.domain.User

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.