[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/25202] javax.security.auth.login.LoginException: no confi

From: mark at gcc dot gnu dot org
Subject: [Bug classpath/25202] javax.security.auth.login.LoginException: no configured modules for
Date: 2 Dec 2005 11:24:16 -0000

------- Comment #2 from mark at gcc dot gnu dot org  2005-12-02 11:24 -------
(In reply to comment #1)
> To fix this we need a parser for Sun-style JAAS config files, which isn't
> trivial to write.

I couldn't quickly find a formal definition, but from this example and the
examples in my security book it looks like a config file is defined as
something like:

ConfigFile := AppConfig+
AppConfig := AppName '{' LoginModule+ '}'
LoginModule := ModuleName ModuleControlFlag ModuleOptions* ';'
ModuleOptions := OptionName '=' OptionValue

Where the *Names and *Values are either strings or fully qualified class names.

Is there much more needed to be parsed then something like the above? Maybe in
practise the format isn't as strict or precisely defined as above, in that case
it becomes a bit more tricky, but just having a simple "strict" parser for the
above format seems helpful.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]