private String getUserFromUniqueID ( String id ) { if ( id == null ) { return "" ; } id = id . trim ( ) ; int realmDelimiterIndex = id . indexOf ( "/" ) ; if ( realmDelimiterIndex < 0 ) { return "" ; } else { return id . substring ( realmDelimiterIndex + 1 ) ; } }
New method added as an alternative of getUserFromUniqueId method of WSSecurityPropagationHelper