public static String decodePassword(String password){
  String decodedPassword=AccessController.doPrivileged(new DecodeAction(password));
  return decodedPassword == null ? password : decodedPassword;
}

public static String decodePassword ( String password ) { String decodedPassword = AccessController . doPrivileged ( new DecodeAction ( password ) ) ; return decodedPassword == null ? password : decodedPassword ; }
decodes the given password and returns it . if decoding fails simply returns the same password parameter .
