0
INI-Datei wie istAusgabe mit shiro Seite Umleitung
[main]
authc.loginUrl = /login.html
authc.successUrl = /index.html
authc.usernameParam = j_username
authc.passwordParam = j_password
[users]
root = secret, admin
[roles]
admin = *
[urls]
/login.html = anon, roles[admin]
/index.html = authc, roles[admin]
wenn ich versuche, die index.html zu schlagen wir die folgenden Fehler ist wie
HTTP ERROR 404
Problem accessing /shiro-example/login.jsp. Reason:
/shiro-example/login.jsp
Powered by Jetty://
meine login.html Datei sind immer
<form name="loginform" action="" method="post" >
<p>
<label>Username</label>
<input id="username" type="text" name="j_username">
</p>
<p>
<label>Password</label>
<input type="password" name="j_password">
</p>
<input type="submit" value="Log In">
</form>
Bitte helfen Sie mir, das Problem zu lösen.
ich es bereits festgelegt Sie die erste Zeile in der Config sehen können. – robin
@robin yup, sorry, ich habe meine Antwort aktualisiert –