I answered my own question. Here's some example code of how you can get access 
to the Login Modules config:

Configuration config = Configuration.getConfiguration();
  | AppConfigurationEntry[] entries = config.getAppConfigurationEntry("other");
  | for(int i = 0; i < entries.length; i++) {
  |    AppConfigurationEntry entry = entries;
  |    System.out.println("LoginModule Class: "+entry.getLoginModuleName());
  |    System.out.println("ControlFlag: "+entry.getControlFlag());
  |    System.out.println("Options:");
  |    Map options = entry.getOptions();
  |    Iterator iter = options.entrySet().iterator();
  |    while(iter.hasNext()){
  |       Entry e = (Entry) iter.next();
  |       System.out.println("name="+e.getKey()+", value="+e.getValue());
  |    }
  | }
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3905282#3905282

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3905282


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to