This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes java.lang.ArrayIndexOutOfBoundsException: 10 	at javax.security.auth.login.LoginContext.invoke(Login Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "java.lang.ArrayIndexOutOfBoundsException: 10 	at javax.security.auth.login.LoginContext.invoke(Login" Watch "java.lang.ArrayIndexOutOfBoundsException: 10 	at javax.security.auth.login.LoginContext.invoke(Login" New topic
Author

java.lang.ArrayIndexOutOfBoundsException: 10 at javax.security.auth.login.LoginContext.invoke(Login

Prateek Kumar Singh
Greenhorn

Joined: Jan 21, 2011
Posts: 29

Hi,

I have implemented a simple jaas application and getting tired by the exception

java.lang.ArrayIndexOutOfBoundsException: 10
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:756)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at com.jaas.auth.LoginModuleTest.main(LoginModuleTest.java:28)


I have override the initialize method.
Please help.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: java.lang.ArrayIndexOutOfBoundsException: 10 at javax.security.auth.login.LoginContext.invoke(Login