Interface KerberosTokenDecoder

  • public interface KerberosTokenDecoder
    This interface defines a pluggable way to obtain a session key given an AP-REQ Kerberos token and a Subject. The session key is needed on the receiving side when it is used for message signature or encryption. A default implementation is not shipped with WSS4J due to a dependency on internal APIs or ASN1 parsers.
    • Method Detail

      • setToken

        void setToken​(byte[] token)
        Set the AP-REQ Kerberos Token
        token - the AP-REQ Kerberos Token
      • setSubject

        void setSubject​(Subject subject)
        Set the Subject
        subject - the Subject
      • clear

        void clear()
        Clear all internal information