Package org.jboss.security.auth.login
Class ConfigUtil
- java.lang.Object
-
- org.jboss.security.auth.login.ConfigUtil
-
public class ConfigUtil extends Object
Utility methods for parsing the XMlLoginConfig elements into AuthenticationInfo instances.- Version:
- $Revision$
- Author:
- Scott.Stark@jboss.org
-
-
Constructor Summary
Constructors Constructor Description ConfigUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthenticationInfo
parseAuthentication(Element policy)
Parse the application-policy/authentication element
-
-
-
Method Detail
-
parseAuthentication
public static AuthenticationInfo parseAuthentication(Element policy) throws Exception
Parse the application-policy/authentication element- Parameters:
policy
- , the application-policy/authentication element- Returns:
- the AuthenticationInfo object for the xml policy fragment
- Throws:
Exception
-
-