users@glassfish.java.net

Re: Glassfish + Metro web service + Custom realm

From: <glassfish_at_javadesktop.org>
Date: Thu, 08 Jul 2010 02:21:19 PDT

Thank you very much!

It works! :) I tried it before, but it didn't work. Maybe that time there was another problem...
So my sun-application.xml contains the following code:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sun-application PUBLIC "-//Sun Microsystems, Inc.//DTD GlassFish Application Server 3.0 Java EE Application 6.0//EN" "http://www.sun.com/software/appserver/dtds/sun-application_6_0-0.dtd">
<sun-application>
    <realm>MyOwnRealm</realm>
</sun-application>

Thank you once again! Have a nice day! :)
[Message sent by forum member 'ladislav_gredi']

http://forums.java.net/jive/thread.jspa?messageID=477068