com.waveset.session
Class AuditorMergePolicyUpdater

java.lang.Object
  extended bycom.waveset.session.AuditorMergePolicyUpdater
All Implemented Interfaces:
ImportCommand

public class AuditorMergePolicyUpdater
extends java.lang.Object
implements ImportCommand

This ImportCommand performs a custom modification of existing Policy objects in order to remove remnants of Auditor-speciic account policy specifications. As of 7.0, the Auditor application has been merged with the Admin app, so there is no need to have Auditor app-specific policy, such as authentication questions.

If there are only Auditor questions defined in the Policy, and no ADMIN or DEFAULT questions, then just move the Auditor section to be the Admin section. Otherwise, we will use the existing ADMIN or DEFAULT questions, and just completely drop the Auditor-specific question info.

In the end, there will no longer be an Auditor-specific question info block in any policy.


Field Summary
static java.lang.String code_id
           
 
Constructor Summary
AuditorMergePolicyUpdater()
           
 
Method Summary
 void process(ImporterContext ctx, java.util.Map args)
          Update existing Policy objects
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

code_id

public static final java.lang.String code_id
See Also:
Constant Field Values
Constructor Detail

AuditorMergePolicyUpdater

public AuditorMergePolicyUpdater()
Method Detail

process

public void process(ImporterContext ctx,
                    java.util.Map args)
             throws WavesetException
Update existing Policy objects

Specified by:
process in interface ImportCommand
Throws:
WavesetException