METHOD_0 ( ) { org . apache . ambari . server . security . authentication . IDENT_0 . IDENT_1 IDENT_2 = METHOD_1 ( org . apache . ambari . server . security . authentication . IDENT_0 . IDENT_1 . class ) ; expect ( IDENT_2 . get ( ) ) . andReturn ( null ) . METHOD_2 ( ) ; javax . servlet . http . IDENT_3 request = METHOD_1 ( javax . servlet . http . IDENT_3 . class ) ; org . apache . ambari . server . security . authentication . IDENT_4 IDENT_5 = METHOD_3 ( org . apache . ambari . server . security . authentication . IDENT_4 . class ) ; METHOD_4 ( ) ; org . apache . ambari . server . security . authentication . IDENT_0 . IDENT_6 filter = new org . apache . ambari . server . security . authentication . IDENT_0 . METHOD_5 ( null , IDENT_2 , null , IDENT_5 ) ; "<AssertPlaceHolder>" ; verify ( request ) ; } METHOD_6 ( javax . servlet . http . IDENT_3 ) { if ( org . apache . ambari . server . security . authentication . IDENT_7 . LOG . METHOD_7 ( ) ) { org . apache . ambari . server . utils . IDENT_8 . METHOD_8 ( IDENT_9 , org . apache . ambari . server . security . authentication . IDENT_7 . LOG ) ; } java . lang . String header = IDENT_9 . METHOD_9 ( STRING_0 ) ; if ( ( header != null ) && ( header . startsWith ( STRING_1 ) ) ) { java . lang . String IDENT_10 = org . apache . ambari . server . utils . IDENT_8 . METHOD_10 ( IDENT_9 , STRING_2 ) ; if ( org . apache . commons . lang . StringUtils . isEmpty ( IDENT_10 ) ) { 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_6 ( request ) )