use of org.wso2.carbon.identity.application.authentication.framework.handler.sequence.impl.GraphBasedSequenceHandler in project carbon-identity-framework by wso2.
the class FrameworkUtils method getStepBasedSequenceHandler.
/**
* Returns the step based sequence handler.
* @return
*/
public static StepBasedSequenceHandler getStepBasedSequenceHandler() {
StepBasedSequenceHandler stepBasedSequenceHandler;
Object obj = ConfigurationFacade.getInstance().getExtensions().get(FrameworkConstants.Config.QNAME_EXT_STEP_BASED_SEQ_HANDLER);
if (obj instanceof StepBasedSequenceHandler) {
stepBasedSequenceHandler = (StepBasedSequenceHandler) obj;
} else {
stepBasedSequenceHandler = new GraphBasedSequenceHandler();
}
return stepBasedSequenceHandler;
}
Aggregations