Steve Cohen [
http://community.jboss.org/people/stevecoh4] created the discussion
"Re: Session-based web service with JBossWS?"
To view the discussion, visit:
http://community.jboss.org/message/633113#633113
--------------------------------------------------------------
Hmm. not working.
I add information to the ejb-jar.xml
| | <assembly-descriptor> |
| | | <security-role> |
| | | | <role-name>friend</role-name> |
| | | </security-role> |
| | | <method-permission> |
| | | | <role-name>friend</role-name> |
| | | | <method> |
| | | | | <ejb-name>MyServicePortImpl</ejb-name> |
| | | | | <method-name>login</method-name> |
| | | | </method> |
| | | </method-permission> |
| | | <method-permission> |
| | | | <unchecked/> |
| | | | <method> |
| | | | | <ejb-name>MyServicePortImpl</ejb-name> |
| | | | | <method-name>foo</method-name> |
| | | | </method> |
| | | </method-permission> |
| | </assembly-descriptor> |
But both methods are still being checked.
Perhaps I haven't named the EJB correctly? In an ejb-based web service, what is the
ejb name that should be used in ejb-jar.xml?
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/633113#633113]
Start a new discussion in JBoss Web Services at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]