This content has been marked as final.
Show 2 replies
-
1. Re: IdentityLoginModule.java, impossibile to avoid IllegalAr
comediant Oct 29, 2008 5:39 AM (in response to sunbeststar)So, any ideas?
-
2. Re: IdentityLoginModule.java, impossibile to avoid IllegalAr
comediant Oct 29, 2008 6:13 AM (in response to sunbeststar)Test FAILED!
@Test
public void jaasTest() {
LoginContext lc = null;
try {
UsernamePasswordHandler handler = new
UsernamePasswordHandler("admin", "admin".toCharArray());
lc = new LoginContext("portal", handler);
lc.login();
} catch (LoginException e) {
e.printStackTrace();
}
}