src/main/java/org/jboss/loom/migrators/security/SecurityMigrator.java
private static String deriveLoginModuleName( String as5moduleName ) {
        
        String type = StringUtils.substringAfterLast(as5moduleName, ".");
        switch( type ) {
            case "ClientLoginModule": return "Client";
            case "BaseCertLoginModule": return "Certificate";
            case "CertRolesLoginModule":  return"CertificateRoles";
            case "DatabaseServerLoginModule": return "Database";
            case "DatabaseCertLoginModule": return "DatabaseCertificate";
            case "IdentityLoginModule": return "Identity";
            case "LdapLoginModule": return "Ldap";
            case "LdapExtLoginModule": return "LdapExtended";
            case "RoleMappingLoginModule": return "RoleMapping";
            case "RunAsLoginModule": return "RunAs";
            case "SimpleServerLoginModule": return "Simple";
            case "ConfiguredIdentityLoginModule": return "ConfiguredIdentity";
            case "SecureIdentityLoginModule": return "SecureIdentity";
            case "PropertiesUsersLoginModule": return "PropertiesUsers";
            case "SimpleUsersLoginModule": return "SimpleUsers";
            case "LdapUsersLoginModule": return "LdapUsers";
            case "Krb5loginModule": return "Kerberos";
            case "SPNEGOLoginModule": return "SPNEGOUsers";
            case "AdvancedLdapLoginModule": return "AdvancedLdap";
            case "AdvancedADLoginModule": return "AdvancedADldap";
            case "UsersRolesLoginModule": return "UsersRoles";
            default: return as5moduleName;
        }
    }
/**
     *  AS 7 has few aliases for the distributed login modules.
     *  This methods translates them from AS 5.
     */
AS 7 has few aliases for the distributed login modules.
This methods translates them from AS 5.
AS 7 has few aliases for the distributed login modules . This methods translates them from AS 5 .
private static String deriveLoginModuleName( String as5moduleName ) {
        String type = StringUtils.substringAfterLast(as5moduleName, ".");
        switch( type ) {
            case "ClientLoginModule": return "Client";
            case "BaseCertLoginModule": return "Certificate";
            case "CertRolesLoginModule":  return"CertificateRoles";
            case "DatabaseServerLoginModule": return "Database";
            case "DatabaseCertLoginModule": return "DatabaseCertificate";
            case "IdentityLoginModule": return "Identity";
            case "LdapLoginModule": return "Ldap";
            case "LdapExtLoginModule": return "LdapExtended";
            case "RoleMappingLoginModule": return "RoleMapping";
            case "RunAsLoginModule": return "RunAs";
            case "SimpleServerLoginModule": return "Simple";
            case "ConfiguredIdentityLoginModule": return "ConfiguredIdentity";
            case "SecureIdentityLoginModule": return "SecureIdentity";
            case "PropertiesUsersLoginModule": return "PropertiesUsers";
            case "SimpleUsersLoginModule": return "SimpleUsers";
            case "LdapUsersLoginModule": return "LdapUsers";
            case "Krb5loginModule": return "Kerberos";
            case "SPNEGOLoginModule": return "SPNEGOUsers";
            case "AdvancedLdapLoginModule": return "AdvancedLdap";
            case "AdvancedADLoginModule": return "AdvancedADldap";
            case "UsersRolesLoginModule": return "UsersRoles";
            default: return as5moduleName;
        }
    }
private static String deriveLoginModuleName ( String as5moduleName ) { String type = StringUtils . substringAfterLast ( as5moduleName , "." ) ; switch ( type ) { case "ClientLoginModule" : return "Client" ; case "BaseCertLoginModule" : return "Certificate" ; case "CertRolesLoginModule" : return "CertificateRoles" ; case "DatabaseServerLoginModule" : return "Database" ; case "DatabaseCertLoginModule" : return "DatabaseCertificate" ; case "IdentityLoginModule" : return "Identity" ; case "LdapLoginModule" : return "Ldap" ; case "LdapExtLoginModule" : return "LdapExtended" ; case "RoleMappingLoginModule" : return "RoleMapping" ; case "RunAsLoginModule" : return "RunAs" ; case "SimpleServerLoginModule" : return "Simple" ; case "ConfiguredIdentityLoginModule" : return "ConfiguredIdentity" ; case "SecureIdentityLoginModule" : return "SecureIdentity" ; case "PropertiesUsersLoginModule" : return "PropertiesUsers" ; case "SimpleUsersLoginModule" : return "SimpleUsers" ; case "LdapUsersLoginModule" : return "LdapUsers" ; case "Krb5loginModule" : return "Kerberos" ; case "SPNEGOLoginModule" : return "SPNEGOUsers" ; case "AdvancedLdapLoginModule" : return "AdvancedLdap" ; case "AdvancedADLoginModule" : return "AdvancedADldap" ; case "UsersRolesLoginModule" : return "UsersRoles" ; default : return as5moduleName ; } }
AS 7 has few aliases for the distributed login modules.
AS 7 has few aliases for the distributed login modules .