Originally posted by Jaikiran Pai:
What error do you get? Can you post it? Is it a compiler error or a classloader error (when JBoss is starting)?
For the import of org.jboss.resource.security.SubjectActions, I get the compiler error "The type org.jboss.resource.security.SubjectActions is not visible", since SubjectActions has visibility only within the package. By keeping my custome class in package "org.jboss.resource.security" removes the error.
Originally posted by Peter Johnson:
There is no problem with keeping your class in that same package - but you should package your class in your own jar.
I have kept it in my own jar
Thanks!