users@glassfish.java.net

How to add JAAS in WEB application

From: <javafuns_at_baturu.com>
Date: Mon, 29 Dec 2008 10:29:12 +0800

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

-- 
http://blog.baturu.com