[jboss-user] [JBoss Web Services] - Re: JBoss 5.1 @WebContext custom auth-method failure

Sridhar Alapati do-not-reply at jboss.com
Tue Apr 5 13:02:20 EDT 2011


Sridhar Alapati [http://community.jboss.org/people/sridhar18] created the discussion

"Re: JBoss 5.1 @WebContext custom auth-method failure"

To view the discussion, visit: http://community.jboss.org/message/597962#597962

--------------------------------------------------------------
I found a work around for this. 

Use jboss.xml to specify the web context instead of the @WebContext annotation that's faulty. 

*Sample:*
<jboss>
    <security-domain>java:/jaas/MyDomain</security-domain>
     <webservices>
        <context-root>/my-context</context-root>
    </webservices>
     <enterprise-beans>
        <session>
            <ejb-name>MyBean_v1</ejb-name>
            <port-component>
                <port-component-name>MyWS</port-component-name>
                <port-component-uri>/MyService</port-component-uri>
                <auth-method>MY-AUTH-METHOD</auth-method>
            </port-component>
        </session>
    </enterprise-beans>
</jboss>
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/597962#597962]

Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110405/d954f89f/attachment.html 


More information about the jboss-user mailing list