org.jboss.security.auth.login
Class SunConfigParser
java.lang.Object
org.jboss.security.auth.login.SunConfigParser
- All Implemented Interfaces:
- SunConfigParserConstants
public class SunConfigParser
- extends Object
- implements SunConfigParserConstants
A JavaCC 2.1 grammar for the default JAAS configuration file provided by Sun.
The format of an entry is:
Application {
ModuleClass Flag ModuleOptions;
ModuleClass Flag ModuleOptions;
ModuleClass Flag ModuleOptions;
};
- Version:
- $Revision: 16662 $
- Author:
- Scott.Stark@jboss.org
- See Also:
http://www.webgain.com/products/metamata/java_doc.html
| Fields inherited from interface org.jboss.security.auth.login.SunConfigParserConstants |
ANY, CLASSNAME, CLOSE_BKT, CONTROL_FLAG, DEFAULT, DIGIT, DOUBLE, EOF, EQUALS, FLOAT, IDENTIFIER, LETTER, LONG, MULTI_LINE_COMMENT, NOTSPACE_EQUALS, OPEN_BKT, SEMI_COLON, SINGLE_LINE_COMMENT, STRING, tokenImage |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
token_source
public SunConfigParserTokenManager token_source
token
public Token token
jj_nt
public Token jj_nt
SunConfigParser
public SunConfigParser()
SunConfigParser
public SunConfigParser(InputStream stream)
SunConfigParser
public SunConfigParser(InputStream stream,
String encoding)
SunConfigParser
public SunConfigParser(Reader stream)
SunConfigParser
public SunConfigParser(SunConfigParserTokenManager tm)
parse
public void parse(Reader configFile,
XMLLoginConfigImpl loginConfig)
throws ParseException
- Throws:
ParseException
parse
public void parse(Reader configFile,
XMLLoginConfigImpl loginConfig,
boolean trace)
throws ParseException
- Throws:
ParseException
doParse
public static void doParse(Reader configFile,
XMLLoginConfigImpl loginConfig)
throws ParseException
- Throws:
ParseException
doParse
public static void doParse(Reader configFile,
XMLLoginConfigImpl loginConfig,
boolean trace)
throws ParseException
- Throws:
ParseException
config
public final void config()
throws ParseException
- Start of the grammar
- Throws:
ParseException
appConfig
public final void appConfig()
throws ParseException
- Throws:
ParseException
loginModuleConfig
public final AppConfigurationEntry loginModuleConfig()
throws ParseException
- Throws:
ParseException
controlFlag
public final AppConfigurationEntry.LoginModuleControlFlag controlFlag()
throws ParseException
- Throws:
ParseException
moduleOptions
public final void moduleOptions(HashMap optionsMap)
throws ParseException
- Throws:
ParseException
ReInit
public void ReInit(InputStream stream)
ReInit
public void ReInit(InputStream stream,
String encoding)
ReInit
public void ReInit(Reader stream)
ReInit
public void ReInit(SunConfigParserTokenManager tm)
getNextToken
public final Token getNextToken()
getToken
public final Token getToken(int index)
generateParseException
public ParseException generateParseException()
enable_tracing
public final void enable_tracing()
disable_tracing
public final void disable_tracing()
Copyright © 2009 JBoss Inc.. All Rights Reserved.