public static LoginConfigMetaData getLoginConfig ( final JBossWebMetaData jbossWebMD ) { LoginConfigMetaData loginConfigMD = jbossWebMD . getLoginConfig ( ) ; if ( loginConfigMD == null ) { loginConfigMD = new LoginConfigMetaData ( ) ; jbossWebMD . setLoginConfig ( loginConfigMD ) ; } return loginConfigMD ; }
Gets login config meta data from jboss web meta data . If not found it creates new login config meta data and associates them with jboss web meta data .