authenticationModuleEntries.add(ace);
isJAASAuthentication = true;
}
else if( value instanceof AuthModuleEntry )
{
AuthModuleEntry ame = (AuthModuleEntry)value;
//Check if the authmodule needs a reference to a loginmodulestack
String lmshName = ame.getLoginModuleStackHolderName();
if( lmshName != null )
ame.setLoginModuleStackHolder((LoginModuleStackHolder)loginModuleStackMap.get(lmshName));
authenticationModuleEntries.add(ame);
isJASPIAuthentication = true;
}
else if( value instanceof LoginModuleStackHolder )
{
LoginModuleStackHolder lmsh = (LoginModuleStackHolder)value;
loginModuleStackMap.put( lmsh.getName(), lmsh );
isJASPIAuthentication = true;
}
else if( value instanceof AuthorizationModuleEntry )
{
AuthorizationModuleEntry ame = (AuthorizationModuleEntry)value;
if(!authorizationModuleEntries.contains(ame))
authorizationModuleEntries.add(ame);
isAuthorization = true;
}
else if( value instanceof AuthorizationConfigEntryHolder )
{
AuthorizationConfigEntryHolder ame = (AuthorizationConfigEntryHolder)value;
AuthorizationModuleEntry ameEntry = ame.getEntry();
if(!authorizationModuleEntries.contains(ameEntry))
authorizationModuleEntries.add(ameEntry);
isAuthorization = true;
}
else if( value instanceof AuditProviderEntry)