Interface SubjectToUidHandler


public interface SubjectToUidHandler
<p?This class can be implemented to translate a security Subject to a uid.

For instance translation of a Subject to uid for the x509SSL security policy is simple minded stripping using the name of the first Principal within the subject and stripping "CN=" from the beginning if it is prefixed in that way

In that case a property in wt.properties can be set com.ptc.jws.security.x509SSL.<ServletName>.SubjectToUidHandlerClass specifying an implementation of this interface to tailor the translation of Subject to uid.

Uids will be looked up to verify they are a valid Windchill user.



Supported API: true

Extendable: false
  • Method Summary

    Modifier and Type
    Method
    Description
    Given a Subject return the uid that a web service should validate as a Windchill user.
  • Method Details

    • getUid

      String getUid(Subject s)
      Given a Subject return the uid that a web service should validate as a Windchill user.

      Supported API: true
      Parameters:
      s - The subject.
      Returns:
      A Windchill uid or null if the subject should be rejected.