From 921ddb56bd1a740812fdd38b6589f58a89d3099d Mon Sep 17 00:00:00 2001 From: mkk Date: Mon, 18 May 2015 22:49:52 +0800 Subject: [PATCH] Show error info on login page --- src/main/webapp/login.jsp | 117 ++++++++++++++++++++------------------ 1 file changed, 61 insertions(+), 56 deletions(-) diff --git a/src/main/webapp/login.jsp b/src/main/webapp/login.jsp index 4ad70e1..f422514 100644 --- a/src/main/webapp/login.jsp +++ b/src/main/webapp/login.jsp @@ -1,57 +1,62 @@ -<%-- - * - * @author Shengzhao Li ---%> - -<%@ page contentType="text/html;charset=UTF-8" language="java" %> - - - - Oauth login - - -

Oauth login

- -
- - - -
-
- - -
- -
-
-

You can use the users to login as follow:

- - - - - - - - - - - - - - - - - - - - - - - - - -
UsernamePasswordPrivileges
adminadminAll privileges, allow visit [Mobile] and [Unity] resources
unityunityOnly allow visit [Unity] resource, support grant_type: - authorization_code,refresh_token,implicit
mobilemobileOnly allow visit [Mobile] resource, support grant_type: password,refresh_token
-
- +<%-- + * + * @author Shengzhao Li +--%> + +<%@ page contentType="text/html;charset=UTF-8" language="java" %> +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> + + + + Oauth login + + +

Oauth login

+ +
+ + + +
+
+ + +
+ + + Access denied !!! + Authentication Failure + +
+
+

You can use the users to login as follow:

+ + + + + + + + + + + + + + + + + + + + + + + + + +
UsernamePasswordPrivileges
adminadminAll privileges, allow visit [Mobile] and [Unity] resources
unityunityOnly allow visit [Unity] resource, support grant_type: + authorization_code,refresh_token,implicit
mobilemobileOnly allow visit [Mobile] resource, support grant_type: password,refresh_token
+
+ \ No newline at end of file