List Info

Thread: Created: (JBAS-4923) No valid security context for the caller identity




Created: (JBAS-4923) No valid security context for the caller identity
country flaguser name
United States
2007-10-30 06:02:01
No valid security context for the caller identity
-------------------------------------------------

                 Key: JBAS-4923
                 URL: http://ji
ra.jboss.com/jira/browse/JBAS-4923
             Project: JBoss Application Server
          Issue Type: Sub-task
      Security Level: Public (Everyone can see)
            Reporter: Thomas Diesler




-- 
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.atl
assian.com/software/jira

        
_______________________________________________
jboss-jira mailing list
jboss-jiralists.jboss.org
h
ttps://lists.jboss.org/mailman/listinfo/jboss-jira

Assigned: (JBAS-4923) No valid security context for the caller identity
country flaguser name
United States
2007-10-30 06:04:12
     [ 
http://jira.jboss.com/jira/browse/JBAS-4923?page=all ]

Thomas Diesler reassigned JBAS-4923:
------------------------------------

    Assignee: Anil Saldhana

> No valid security context for the caller identity
> -------------------------------------------------
>
>                 Key: JBAS-4923
>                 URL: http://ji
ra.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
>
>
> [tdieslertddell 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.getCallerPrin
cipalInternal(EnterpriseContext.java:398)
>         at
org.jboss.ejb.EnterpriseContext$EJBContextImpl.getCallerPrin
cipal(EnterpriseContext.java:359)
>         at
org.jboss.ejb.StatelessSessionEnterpriseContext$SessionConte
xtImpl.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.atl
assian.com/software/jira

        
_______________________________________________
jboss-jira mailing list
jboss-jiralists.jboss.org
h
ttps://lists.jboss.org/mailman/listinfo/jboss-jira

Updated: (JBAS-4923) No valid security context for the caller identity
country flaguser name
United States
2007-10-30 06:04:12
     [ 
http://jira.jboss.com/jira/browse/JBAS-4923?page=all ]

Thomas Diesler updated JBAS-4923:
---------------------------------

    Fix Version/s:  JBossAS-5.0.0.Beta3
      Description: 
[tdieslertddell 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.getCallerPrin
cipalInternal(EnterpriseContext.java:398)
        at
org.jboss.ejb.EnterpriseContext$EJBContextImpl.getCallerPrin
cipal(EnterpriseContext.java:359)
        at
org.jboss.ejb.StatelessSessionEnterpriseContext$SessionConte
xtImpl.getCallerPrincipal(StatelessSessionEnterpriseContext.
java:228)
        at
org.jboss.test.ws.jaxrpc.samples.jsr109ejb.JaxRpcEJBEndpoint
.echoString(JaxRpcEJBEndpoint.java:48)


> No valid security context for the caller identity
> -------------------------------------------------
>
>                 Key: JBAS-4923
>                 URL: http://ji
ra.jboss.com/jira/browse/JBAS-4923
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>            Reporter: Thomas Diesler
>             Fix For:  JBossAS-5.0.0.Beta3
>
>
> [tdieslertddell 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.getCallerPrin
cipalInternal(EnterpriseContext.java:398)
>         at
org.jboss.ejb.EnterpriseContext$EJBContextImpl.getCallerPrin
cipal(EnterpriseContext.java:359)
>         at
org.jboss.ejb.StatelessSessionEnterpriseContext$SessionConte
xtImpl.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.atl
assian.com/software/jira

        
_______________________________________________
jboss-jira mailing list
jboss-jiralists.jboss.org
h
ttps://lists.jboss.org/mailman/listinfo/jboss-jira

Commented: (JBAS-4923) No valid security context for the caller identity
country flaguser name
United States
2007-10-31 04:56:46
    [ http://jira.jboss.com/jira/browse/JBAS-
4923?page=comments#action_12385233 ] 
            
Thomas Diesler commented on JBAS-4923:
--------------------------------------

Tests may be excluded from the compile target by the exclude
file

https://svn.jboss.org/repos/jbossws/stack/native
/branches/jbossws-native-2.0.2/src/test/resources/test-exclu
des-jboss500.txt

This allows us to detect regression and have a unified
testsuite across all supported containers
You will need to comment the exclude before you run
tests-main

> No valid security context for the caller identity
> -------------------------------------------------
>
>                 Key: JBAS-4923
>                 URL: http://ji
ra.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
>
>
> [tdieslertddell 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.getCallerPrin
cipalInternal(EnterpriseContext.java:398)
>         at
org.jboss.ejb.EnterpriseContext$EJBContextImpl.getCallerPrin
cipal(EnterpriseContext.java:359)
>         at
org.jboss.ejb.StatelessSessionEnterpriseContext$SessionConte
xtImpl.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.atl
assian.com/software/jira

        
_______________________________________________
jboss-jira mailing list
jboss-jiralists.jboss.org
h
ttps://lists.jboss.org/mailman/listinfo/jboss-jira

Commented: (JBAS-4923) No valid security context for the caller identity
country flaguser name
United States
2007-10-31 13:34:44
    [ 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.getCallerPrin
cipalInternal

// 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://ji
ra.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
>
>
> [tdieslertddell 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.getCallerPrin
cipalInternal(EnterpriseContext.java:398)
>         at
org.jboss.ejb.EnterpriseContext$EJBContextImpl.getCallerPrin
cipal(EnterpriseContext.java:359)
>         at
org.jboss.ejb.StatelessSessionEnterpriseContext$SessionConte
xtImpl.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.atl
assian.com/software/jira

        
_______________________________________________
jboss-jira mailing list
jboss-jiralists.jboss.org
h
ttps://lists.jboss.org/mailman/listinfo/jboss-jira

Resolved: (JBAS-4923) No valid security context for the caller identity
country flaguser name
United States
2007-10-31 18:14:44
     [ 
http://jira.jboss.com/jira/browse/JBAS-4923?page=all ]

Scott M Stark resolved JBAS-4923.
---------------------------------

    Resolution: Done

The setting has been moved to the standardjboss.xml 

[starksmvalkyrie jbossws-native-2.0.2]$ ant
-Dtest=jaxrpc/samples/jsr109ejb test one-test
...

tests-run-internal:
    [junit] Running
org.jboss.test.ws.jaxrpc.samples.jsr109ejb.DocEJBTestCase
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time
elapsed: 28.953 sec
    [junit] Running
org.jboss.test.ws.jaxrpc.samples.jsr109ejb.RpcDIIConfiguredC

allTestCase
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time
elapsed: 4.062 sec
    [junit] Running
org.jboss.test.ws.jaxrpc.samples.jsr109ejb.RpcDIIUnconfigure

dCallTestCase
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time
elapsed: 3.61 sec
    [junit] Running
org.jboss.test.ws.jaxrpc.samples.jsr109ejb.RpcEJBTestCase
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time
elapsed: 4.188 sec
    [junit] Running
org.jboss.test.ws.jaxrpc.samples.jsr109ejb.RpcProxyTestCase
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time
elapsed: 3.234 sec


> No valid security context for the caller identity
> -------------------------------------------------
>
>                 Key: JBAS-4923
>                 URL: http://ji
ra.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
>
>
> [tdieslertddell 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.getCallerPrin
cipalInternal(EnterpriseContext.java:398)
>         at
org.jboss.ejb.EnterpriseContext$EJBContextImpl.getCallerPrin
cipal(EnterpriseContext.java:359)
>         at
org.jboss.ejb.StatelessSessionEnterpriseContext$SessionConte
xtImpl.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.atl
assian.com/software/jira

        
_______________________________________________
jboss-jira mailing list
jboss-jiralists.jboss.org
h
ttps://lists.jboss.org/mailman/listinfo/jboss-jira

[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )