Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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.
 
Don't get me started about those stupid light bulbs.
 
subject: java.lang.ArrayIndexOutOfBoundsException: 10 at javax.security.auth.login.LoginContext.invoke(Login
 
Similar Threads
how to get connection
JDBC Realm Authentication failed
JAAS + Tomcat
Custom Login Module in JBOSS -- How To Make it Work ?
how to get connection