Subversion Repositories SmartDukaan

Rev

Rev 6373 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6373 Rev 6376
Line 96... Line 96...
96
		String username = request.getParameter("username");
96
		String username = request.getParameter("username");
97
		String password = request.getParameter("password");
97
		String password = request.getParameter("password");
98
		if(StringUtils.isEmpty(username) && StringUtils.isEmpty(username)){
98
		if(StringUtils.isEmpty(username) && StringUtils.isEmpty(username)){
99
			return "authfail";
99
			return "authfail";
100
		}
100
		}
101
		if(!(username.equals("sdeck") && password.equals("saholic"))){
101
		if(!(username.equals("sdeck") && password.equals("sdeck@7436"))){
102
			return "authfail";
102
			return "authfail";
103
		}
103
		}
104
		return "authsuccess";
104
		return "authsuccess";
105
	}
105
	}
106
	
106