This is very frustrating.  With everything else exactly the same, I can
change 1 line in my shiro.ini and it works vs not works.

If I switch to Basic AUTH it works.  FORM based NOT.

[urls]
/login.html = anon
/** = authc  <--------This doesn't work

[urls]
/login.html = anon
/** = authcBasic  <---------This works.

Here is my Login.html page that FORM based uses:
-----------------------------------------------------------
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml";>
<head>
  <title>Login</title>
</head>
<body>
  <form method=post action="" >
    <p>
      Username:
      <br />
      <input type="text"  name= "username" >
    </p>
    <p>
      Password:
      <br />
      <input type="password"  name= "password" >
    </p>
    <p>
      <input type="submit" value="Login">
    </p>
    <p>
      <input type="checkbox" name="rememberMe" value="true"> Remember
Me?<br>
  </p>
  </form>
</body>
-------------------------------------------------------------


Any ideas would be appreciated.  I really want to use Shiro but can't get
past this hiccup.



--
View this message in context: 
http://shiro-user.582556.n2.nabble.com/Shiro-rediecting-back-to-Login-after-successful-Login-tp7581130p7581138.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to