METHOD_0 ( ) { javax . servlet . http . IDENT_0 IDENT_1 = METHOD_1 ( javax . servlet . http . IDENT_0 . class ) ; expect ( configuration . METHOD_2 ( ) ) . andReturn ( METHOD_3 ( false ) ) . METHOD_4 ( ) ; METHOD_5 ( ) ; org . apache . ambari . server . security . authentication . IDENT_2 . IDENT_3 filter = new org . apache . ambari . server . security . authentication . IDENT_2 . METHOD_6 ( IDENT_4 , IDENT_5 , configuration , IDENT_6 ) ; "<AssertPlaceHolder>" ; METHOD_7 ( ) ; } METHOD_8 ( javax . servlet . http . IDENT_0 ) { if ( org . apache . ambari . server . security . authentication . IDENT_7 . LOG . METHOD_9 ( ) ) { org . apache . ambari . server . utils . IDENT_8 . METHOD_10 ( IDENT_1 , org . apache . ambari . server . security . authentication . IDENT_7 . LOG ) ; } java . lang . String header = IDENT_1 . METHOD_11 ( STRING_0 ) ; if ( ( header != null ) && ( header . startsWith ( STRING_1 ) ) ) { java . lang . String IDENT_9 = org . apache . ambari . server . utils . IDENT_8 . METHOD_12 ( IDENT_1 , STRING_2 ) ; if ( org . apache . commons . lang . StringUtils . isEmpty ( IDENT_9 ) ) { return true ; } else { org . apache . ambari . server . security . authentication . IDENT_7 . LOG . warn ( ( STRING_3 + STRING_4 ) ) ; return false ; } } else { return false ; } }
org . junit . Assert . assertFalse ( filter . METHOD_8 ( IDENT_1 ) )