Class SupportingTokens

  • All Implemented Interfaces:
    org.apache.neethi.Assertion, org.apache.neethi.PolicyComponent, org.apache.neethi.PolicyContainingAssertion

    public class SupportingTokens
    extends AbstractSecurityAssertion
    implements org.apache.neethi.PolicyContainingAssertion
    • Constructor Detail

      • SupportingTokens

        public SupportingTokens​(SPConstants.SPVersion version,
                                QName supportingTokenType,
                                org.apache.neethi.Policy nestedPolicy)
    • Method Detail

      • getName

        public QName getName()
        Specified by:
        getName in interface org.apache.neethi.Assertion
      • serialize

        public void serialize​(XMLStreamWriter writer)
                       throws XMLStreamException
        Specified by:
        serialize in interface org.apache.neethi.Assertion
        Specified by:
        serialize in interface org.apache.neethi.PolicyComponent
        Throws:
        XMLStreamException
      • normalize

        public org.apache.neethi.PolicyComponent normalize()
        Specified by:
        normalize in interface org.apache.neethi.Assertion
        Overrides:
        normalize in class AbstractSecurityAssertion
      • getPolicy

        public org.apache.neethi.Policy getPolicy()
        Specified by:
        getPolicy in interface org.apache.neethi.PolicyContainingAssertion
      • parseNestedPolicy

        protected void parseNestedPolicy​(org.apache.neethi.Policy nestedPolicy,
                                         SupportingTokens supportingTokens)
      • setAlgorithmSuite

        protected void setAlgorithmSuite​(AlgorithmSuite algorithmSuite)
      • setSignedParts

        protected void setSignedParts​(SignedParts signedParts)
      • setSignedElements

        protected void setSignedElements​(SignedElements signedElements)
      • setEncryptedParts

        protected void setEncryptedParts​(EncryptedParts encryptedParts)
      • setEncryptedElements

        protected void setEncryptedElements​(EncryptedElements encryptedElements)
      • isEncryptedToken

        public boolean isEncryptedToken()
        Returns:
        true if the supporting token should be encrypted
      • isEndorsing

        public boolean isEndorsing()
        Returns:
        true if the supporting token is endorsing