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();
}
}
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185321#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...