users@glassfish.java.net

Re: Application-scoped realm?

From: <jmilkiewicz_at_gmail.com>
Date: Sun, 4 Sep 2011 16:13:31 +0200

Hi

Just to make it clear: by defining realm/realms in a server config is
it possible to configure an application scoped realm in glassfish ? I
mean, the realm that is applied to a SINGLE application ( as it is
possible in Tomcat )?

regards Jakub


2011/9/4 Kumar Jayanti <v.b.kumar.jayanti_at_oracle.com>:
>
> On 25-Aug-2011, at 12:15 AM, forums_at_java.net wrote:
>
>> In Glassfish, you can supply application-scoped resources with your .ear file
>> by putting a glassfish-resources.xml file in your .ear file's META-INF
>> directory.
>>
>> Is there any way to supply an application-scoped /realm/ with your .ear file?
> No. All realms need to be declared in security-service of the server config.
>
>>
>> Best,
>> Laird
>>
>>
>> --
>>
>> [Message sent by forum member 'ljnelson']
>>
>> View Post: http://forums.java.net/node/837039
>>
>>
>
>