package org.wyona.yanel.impl.resources;

import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.LogManager;

/**
 * Resource configuration matcher re mobile registration
 */
public class CASLogoutMatcher implements org.wyona.yanel.core.MatcherV1 {

    private static Logger log = LogManager.getLogger(CASLogoutMatcher.class);

    /**
     * @see org.wyona.yanel.core.MatcherV1#match(Realm, String, HttpServletRequest)
     */
    public boolean match(org.wyona.yanel.core.map.Realm realm, String path, javax.servlet.http.HttpServletRequest request) throws Exception {
        //log.debug("Path: " + path);
        if ("POST".equals(request.getMethod())) {
            log.warn("DEBUG: Post request: " + path);
            return true;
        }
        return false;
    }
}

@@ -664,16 +664,65 @@
 ethod())
+ && request.getParameter(%22logoutRequest%22) != null
 ) %7B%0A    
@@ -737,24 +737,24 @@
 log.
-warn(%22DEBUG: Pos
+debug(%22CAS logou
 t re

check for parameter logoutRequest