package com.ctrip.xpipe.api.sso;

import java.util.regex.Pattern;

/**
 * @author wenchao.meng
 *         <p>
 *         Jun 12, 2017
 */
public class SsoConfig {

    public static final String excludeRegex = "/api/.*|/health|/fireman/.*";

    public static boolean stopsso = false;

    public static boolean excludes(String url){

        if(stopsso){
            return  true;
        }
        return Pattern.matches(SsoConfig.excludeRegex, url);
    }

}


@@ -231,16 +231,28 @@
 reman/.*
+%7C/webjars/.*
 %22;%0A%0A    

add fireman front end resource to sso white list