Class HttpsToken

    • Constructor Detail

      • HttpsToken

        public HttpsToken()
        Creates a new instance of HttpsToken
      • HttpsToken

        public HttpsToken​(com.sun.xml.ws.policy.sourcemodel.AssertionData name,
                          Collection<com.sun.xml.ws.policy.PolicyAssertion> nestedAssertions,
                          com.sun.xml.ws.policy.AssertionSet nestedAlternative)
    • Method Detail

      • setRequireClientCertificate

        public void setRequireClientCertificate​(boolean value)
      • isRequireClientCertificate

        public boolean isRequireClientCertificate()
        Description copied from interface: HttpsToken
        returns value of RequireClientCertificate attribute for 2005/07 SP version or true if RequireClientCertificate assertion is present in SP 1.2 version
        Specified by:
        isRequireClientCertificate in interface HttpsToken
        Returns:
        true or false
      • getIncludeToken

        public String getIncludeToken()
        Description copied from interface: Token
        returns the token inclusion value
        Specified by:
        getIncludeToken in interface Token
        Returns:
        one of ONCE,NEVER,ALWAYS_TO_RECIPIENT,ALWAYS
      • setIncludeToken

        public void setIncludeToken​(String type)
      • getTokenId

        public String getTokenId()
        Description copied from interface: Token
        Unique Id assigned to the token.
        Specified by:
        getTokenId in interface Token
        Returns:
        String representation of the token id.
      • getIssuer

        public Issuer getIssuer()
        Description copied from interface: HttpsToken
        returns the issuer for the X509 token.
        Specified by:
        getIssuer in interface HttpsToken
        Returns:
        returns the issuer
      • isHttpBasicAuthentication

        public boolean isHttpBasicAuthentication()
        Description copied from interface: HttpsToken
        valid for SecurityPolicy 1.2 only returns true if HttpBasicAuthentication nested policy assertion is present
        Specified by:
        isHttpBasicAuthentication in interface HttpsToken
        Returns:
        true or false
      • isHttpDigestAuthentication

        public boolean isHttpDigestAuthentication()
        Description copied from interface: HttpsToken
        valid for SecurityPolicy 1.2 only returns true if HttpDigestAuthentication nested policy assertion is present
        Specified by:
        isHttpDigestAuthentication in interface HttpsToken
        Returns:
        true or false