@Override
    protected boolean doDetect() {
        super.doDetect();
        boolean isMPJWTAuth = false;
        if (webXMl.getAllLoginConfig().size() > 0) {
            LoginConfigType<WebAppDescriptor> lc = webXMl.getOrCreateLoginConfig();
            isMPJWTAuth = lc.getAuthMethod() != null && lc.getAuthMethod().equalsIgnoreCase("MP-JWT");
        }
        return isMPJWTAuth;
    }
@ Override protected boolean doDetect ( ) { super . doDetect ( ) ; boolean isMPJWTAuth = false ; if ( webXMl . getAllLoginConfig ( ) . size ( ) > 0 ) { LoginConfigType < WebAppDescriptor > lc = webXMl . getOrCreateLoginConfig ( ) ; isMPJWTAuth = lc . getAuthMethod ( ) != null && lc . getAuthMethod ( ) . equalsIgnoreCase ( "MP-JWT" ) ; } return isMPJWTAuth ; }
@return true of the WebXml indicates an MP-JWT auth-method