map a principal in the source realm to the target realm concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder
Principal function ( String arg0 , Principal arg1 , String arg2 ) { if ( "srini_string" . equals ( arg0 ) ) { String loc0 = arg1 . getName ( ) . toUpperCase ( ) ; return new CustomTokenPrincipal ( loc0 ) ; } else if ( "srini_string" . equals ( arg0 ) ) { String loc0 = arg1 . getName ( ) . toLowerCase ( ) ; return new CustomTokenPrincipal ( loc0 ) ; } return null ; }