question: public static String removeDeployUri ( String uri ) { if ( ( uri == null ) || ( uri . length ( ) == 0 ) ) { return uri ; } int loc = uri . indexOf ( "/" , 1 ) ; if ( loc == - 1 ) { return null ; } else { return uri . substring ( loc ) ; } }
target:  Removes deployment URI from the pass down string. i.e. from "/opensso/ArtifactResolver/metaAlias/idp" to "/ArtifactResolver/metaAlias/idp".