users@glassfish.java.net

Re: How to add JAAS in WEB application

From: <javafuns_at_baturu.com>
Date: Mon, 29 Dec 2008 15:14:15 +0800

Hi
  I have filed a bug 6976.
https://glassfish.dev.java.net/issues/show_bug.cgi?id=6976



Nithya Subramanian wrote:
> Hi,
>
> Have you tried dropping the customized jar files into the GF/lib
> directory ? Is there a specific reason why you are looking for packing
> them with your war file? Could you please elucidate the steps you are
> trying to create and deploy the customized JAAS module?
>
> Thanks,
> Nithya
>
> javafuns_at_baturu.com wrote:
>> Hi
>> I'm new for GlassFish. I'd like to know how to add my customized
>> JAAS in my WAR to deploy into GlassFish.
>> I found if i directly placed the config files in WEB-INF/classes, it
>> does not take effect. Even that it makes me can not login the
>> GlassFish admin console.
>>
>> This is the log from GlassFish:
>>
>> [#|2008-12-25T16:19:56.000+0800|WARNING|glassfish|javax.enterprise.system.container.web|_ThreadID=17;_ThreadName=Thread-3;|Web
>> login failed: Login failed: javax.security.auth.login.LoginException:
>> 没有为 fileRealm 配置 LoginModules|#]
>>
>> Thanks for any help
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>


-- 
http://blog.baturu.com