METHOD_0 ( ) { for ( int i = 0 ; i < ( org . apache . hadoop . security . token . IDENT_0 . IDENT_1 . IDENT_2 ) ; i ++ ) { org . apache . hadoop . security . token . IDENT_0 . web . IDENT_3 IDENT_4 = null ; java . lang . String IDENT_5 = IDENT_6 . METHOD_1 ( ) ; org . apache . hadoop . conf . Configuration conf = METHOD_2 ( IDENT_5 ) ; IDENT_4 = new org . apache . hadoop . security . token . IDENT_0 . web . METHOD_3 ( conf , new org . apache . hadoop . io . METHOD_4 ( "foo" ) ) ; IDENT_4 . init ( ) ; org . apache . hadoop . security . token . IDENT_7 < org . apache . hadoop . security . token . IDENT_0 . web . IDENT_8 > token = ( ( org . apache . hadoop . security . token . IDENT_7 < org . apache . hadoop . security . token . IDENT_0 . web . IDENT_8 > ) ( IDENT_4 . METHOD_5 ( org . apache . hadoop . security . IDENT_9 . METHOD_6 ( ) , "foo" ) ) ) ; "<AssertPlaceHolder>" ; IDENT_4 . METHOD_7 ( token , "foo" ) ; try { METHOD_8 ( IDENT_4 , token ) ; org . junit . Assert . fail ( STRING_0 ) ; } catch ( org . apache . hadoop . security . token . IDENT_10 it ) { it . printStackTrace ( ) ; } METHOD_9 ( IDENT_4 , conf ) ; } } METHOD_6 ( ) { java . security . IDENT_11 context = java . security . IDENT_12 . METHOD_10 ( ) ; javax . security . auth . IDENT_13 subject = javax . security . auth . IDENT_13 . METHOD_11 ( context ) ; if ( ( subject == null ) || ( subject . METHOD_12 ( org . apache . hadoop . security . User . class ) . isEmpty ( ) ) ) { return org . apache . hadoop . security . IDENT_9 . METHOD_13 ( ) ; } else { return new org . apache . hadoop . security . METHOD_14 ( subject ) ; } }
org . junit . Assert . assertNotNull ( token )