-
1. Re: Exception in jboss.security.SubjectInfo
jfclere Nov 22, 2012 6:04 AM (in response to soma3080)what is the complete stack trace?
-
2. Re: Exception in jboss.security.SubjectInfo
soma3080 Nov 22, 2012 6:40 AM (in response to jfclere)Hello Jean-Frederic,
Thanks! for looking into my issue.
Please find the stacktrace below,
Exception in thread "main" java.lang.NoSuchMethodError: org.jboss.security.SubjectInfo.getAuthenticationPrincipal()Ljava/security/Principal;
at org.jboss.security.plugins.JBossSecurityContextUtil.getUserPrincipal(JBossSecurityContextUtil.java:81)
at org.jboss.proxy.SecurityActions$1.getPrincipal(SecurityActions.java:62)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:58)
at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:184)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:101)
at $Proxy0.create(Unknown Source) -
3. Re: Exception in jboss.security.SubjectInfo
sguilhen Nov 23, 2012 11:50 AM (in response to soma3080)This is probably caused by a conflict between the jboss-security-spi.jar that you added to your app and the one shipped within the lib folder of the app server. Why do you need to add the lib to your app?