METHOD_0 ( ) { final org . apache . ambari . server . security . authorization . IDENT_0 IDENT_1 = METHOD_1 ( org . apache . ambari . server . security . authorization . IDENT_0 . class ) ; javax . servlet . http . IDENT_2 request = METHOD_1 ( javax . servlet . http . IDENT_2 . class ) ; javax . servlet . http . IDENT_3 response = METHOD_1 ( javax . servlet . http . IDENT_3 . class ) ; javax . servlet . IDENT_4 IDENT_5 = METHOD_1 ( javax . servlet . IDENT_4 . class ) ; org . apache . ambari . server . security . authorization . internal . IDENT_6 IDENT_7 = METHOD_1 ( org . apache . ambari . server . security . authorization . internal . IDENT_6 . class ) ; expect ( request . METHOD_2 ( IDENT_8 . IDENT_9 ) ) . andReturn ( org . apache . ambari . server . security . authorization . IDENT_10 . IDENT_11 ) ; expect ( IDENT_7 . METHOD_3 ( org . apache . ambari . server . security . authorization . IDENT_10 . IDENT_11 ) ) . andReturn ( true ) ; expect ( request . METHOD_2 ( IDENT_12 . IDENT_13 ) ) . andReturn ( null ) ; IDENT_5 . METHOD_4 ( request , response ) ; METHOD_5 ( ) ; replay ( IDENT_1 , request , response , IDENT_5 , IDENT_7 ) ; org . apache . ambari . server . security . authorization . IDENT_14 filter = new org . apache . ambari . server . security . authorization . METHOD_6 ( IDENT_7 , IDENT_1 ) ; filter . METHOD_4 ( request , response , IDENT_5 ) ; verify ( IDENT_1 , request , response , IDENT_5 , IDENT_7 ) ; org . springframework . security . core . IDENT_15 authentication = org . springframework . security . core . context . IDENT_16 . METHOD_7 ( ) . METHOD_8 ( ) ; "<AssertPlaceHolder>" ; } METHOD_8 ( ) { return new org . springframework . security . core . METHOD_9 ( ) { @ org . apache . ambari . server . IDENT_17 . request . IDENT_18 . Override public java . util . Collection < ? extends org . springframework . security . core . IDENT_19 > METHOD_10 ( ) { return null ; } @ org . apache . ambari . server . IDENT_17 . request . IDENT_18 . Override public java . lang . Object METHOD_11 ( ) { return null ; } @ org . apache . ambari . server . IDENT_17 . request . IDENT_18 . Override public java . lang . Object METHOD_12 ( ) { return null ; } @ org . apache . ambari . server . IDENT_17 . request . IDENT_18 . Override public java . lang . Object METHOD_13 ( ) { return new org . springframework . security . core . IDENT_20 . User ( org . apache . ambari . server . IDENT_17 . request . IDENT_18 . IDENT_21 . IDENT_22 , STRING_0 , java . util . Collections . emptyList ( ) ) ; } @ org . apache . ambari . server . IDENT_17 . request . IDENT_18 . Override public boolean METHOD_14 ( ) { return true ; } @ org . apache . ambari . server . IDENT_17 . request . IDENT_18 . Override public void METHOD_15 ( boolean b ) throws org . apache . ambari . server . IDENT_17 . request . IDENT_18 . IllegalArgumentException { } @ org . apache . ambari . server . IDENT_17 . request . IDENT_18 . Override public java . lang . String getName ( ) { return ( ( org . springframework . security . core . IDENT_20 . User ) ( METHOD_13 ( ) ) ) . METHOD_16 ( ) ; } } ; }
org . junit . Assert . assertNull ( authentication )