Class URLAuthenticator

java.lang.Object
wt.intersvrcom.URLAuthenticator
All Implemented Interfaces:
Externalizable, Serializable

public class URLAuthenticator extends Object implements Externalizable


Supported API: true

Extendable: false
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    sign(String url)
    If the URLConnection is initialized by Windchill client applications or browsers, use this method in order to force client host to be included in the digital signature..
    static String
    sign(String url, boolean internal)
    Set "internal" to true if the http connection is issued by Windchill server ("internal" only), otherwise if the connection is initialized by Windchill client applications or browsers, this value should be set to false, in order to force client host to be included in the digital signature.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • sign

      public static String sign(String url) throws WTException
      If the URLConnection is initialized by Windchill client applications or browsers, use this method in order to force client host to be included in the digital signature.. This is equivalent to call sign (url, false). If the URLConnection is initialized by Windchill server, call sign (url, true).

      Supported API: true
      Parameters:
      url -
      Returns:
      String
      Throws:
      WTException
    • sign

      public static String sign(String url, boolean internal) throws WTException
      Set "internal" to true if the http connection is issued by Windchill server ("internal" only), otherwise if the connection is initialized by Windchill client applications or browsers, this value should be set to false, in order to force client host to be included in the digital signature.

      Supported API: true
      Parameters:
      url -
      internal -
      Returns:
      String
      Throws:
      WTException