a helper api for creating an audit log for a failure event . concode_field_sep String KEY_VAL_SEPARATOR concode_elem_sep String UNAUTHORIZED_USER concode_elem_sep Log LOG concode_elem_sep char PAIR_SEPARATOR concode_elem_sep String SUCCESS concode_elem_sep String FAILURE concode_field_sep void add concode_elem_sep void logSuccess concode_elem_sep void logFailure concode_elem_sep void addRemoteIP concode_elem_sep void start concode_elem_sep String createSuccessLog
String function ( String arg0 , String arg1 , String arg2 , String arg3 , String arg4 ) { StringBuilder loc0 = new StringBuilder ( ) ; start ( Keys . USER , arg0 , loc0 ) ; addRemoteIP ( loc0 ) ; add ( Keys . OPERATION , arg1 , loc0 ) ; add ( Keys . TARGET , arg3 , loc0 ) ; add ( Keys . RESULT , AuditConstants . FAILURE , loc0 ) ; add ( Keys . DESCRIPTION , arg4 , loc0 ) ; add ( Keys . PERMISSIONS , arg2 , loc0 ) ; return loc0 . toString ( ) ; }