[jboss-jira] [JBoss JIRA] Commented: (JBAS-4923) No valid security context for the caller identity

Anil Saldhana (JIRA) jira-events at lists.jboss.org
Wed Oct 31 14:34:44 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBAS-4923?page=comments#action_12385385 ] 
            
Anil Saldhana commented on JBAS-4923:
-------------------------------------

The issue is that the unauthenticatedPrincipal from the ApplicationMetaData is null.

====================================
org.jboss.ejb.EnterpriseContext$EJBContextImpl.getCallerPrincipalInternal

// Check for an unauthenticated principal value
               else
               {
                  ApplicationMetaData appMetaData = con.getBeanMetaData().getApplicationMetaData();
                  String name = appMetaData.getUnauthenticatedPrincipal();
                  if (name != null)
                     caller = new SimplePrincipal(name);
               }
===================================

> No valid security context for the caller identity
> -------------------------------------------------
>
>                 Key: JBAS-4923
>                 URL: http://jira.jboss.com/jira/browse/JBAS-4923
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>            Reporter: Thomas Diesler
>         Assigned To: Anil Saldhana
>             Fix For:  JBossAS-5.0.0.Beta3
>
>
> [tdiesler at tddell jbossws-native-2.0.2]$ ant -Dtest=jaxrpc/samples/jsr109ejb test
> Caused by: java.lang.IllegalStateException: No valid security context for the caller identity
>         at org.jboss.ejb.EnterpriseContext$EJBContextImpl.getCallerPrincipalInternal(EnterpriseContext.java:398)
>         at org.jboss.ejb.EnterpriseContext$EJBContextImpl.getCallerPrincipal(EnterpriseContext.java:359)
>         at org.jboss.ejb.StatelessSessionEnterpriseContext$SessionContextImpl.getCallerPrincipal(StatelessSessionEnterpriseContext.java:228)
>         at org.jboss.test.ws.jaxrpc.samples.jsr109ejb.JaxRpcEJBEndpoint.echoString(JaxRpcEJBEndpoint.java:48)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list