Package org.apache.ws.sandbox.security.policy.message.token

Examples of org.apache.ws.sandbox.security.policy.message.token.AppliesTo


   * Sets the <code>wst:AppliesTo</code> value of the <code>wst:RequestSecurityToken</code>
   * @param appliesTo The <code>wst:AppliesTo/wsa:EndpointReference<code> as a <code>String</code>
   */
  public void setAppliesTo(String appliesTo) {
      if(this.appliesToElement == null) {
        this.appliesToElement = new AppliesTo(this.element.getOwnerDocument());
        this.element.appendChild(this.appliesToElement.getElement());
      }

      this.appliesToElement.setEndpointReference(appliesTo);
  }
View Full Code Here


   */
  protected void handleSpecificChildren(Element elem) throws WSTrustException {
    QName el =  new QName(elem.getNamespaceURI(), elem.getLocalName());
   
    if(el.equals(AppliesTo.TOKEN)) {
      this.appliesToElement = new AppliesTo(elem);
    } else if(el.equals(Claims.TOKEN)) {
      this.claimsElement = new Claims(elem);     
    } else if(el.equals(Entropy.TOKEN)) {
      this.entropyElement = new Entropy(elem);
    } else if(el.equals(Lifetime.TOKEN)) {
View Full Code Here

TOP

Related Classes of org.apache.ws.sandbox.security.policy.message.token.AppliesTo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.