Package org.jboss.ws.extensions.security.element

Examples of org.jboss.ws.extensions.security.element.DirectReference


      {
         token = new X509Token(cert, message);
         header.addToken(token);
      }

      SecurityTokenReference reference = new SecurityTokenReference(new DirectReference(message, token));
      sig.getKeyInfo().addUnknownElement(reference.getElement());

      header.addSecurityProcess(new Signature(sig));
   }
View Full Code Here


   public BinarySecurityToken resolve(SecurityTokenReference reference) throws WSSecurityException
   {
      Reference ref = reference.getReference();
      if (ref instanceof DirectReference)
      {
         DirectReference direct = (DirectReference) ref;
         return resolveDirectReference(direct);
      }
      else if (ref instanceof KeyIdentifier)
      {
         KeyIdentifier identifier = (KeyIdentifier) ref;
View Full Code Here

      {
         token = new X509Token(cert, message);
         header.addToken(token);
      }

      SecurityTokenReference reference = new SecurityTokenReference(new DirectReference(message, token));
      sig.getKeyInfo().addUnknownElement(reference.getElement());

      header.addSecurityProcess(new Signature(sig));
   }
View Full Code Here

   public BinarySecurityToken resolve(SecurityTokenReference reference) throws WSSecurityException
   {
      Reference ref = reference.getReference();
      if (ref instanceof DirectReference)
      {
         DirectReference direct = (DirectReference) ref;
         return resolveDirectReference(direct);
      }
      else if (ref instanceof KeyIdentifier)
      {
         KeyIdentifier identifier = (KeyIdentifier) ref;
View Full Code Here

   public BinarySecurityToken resolve(SecurityTokenReference reference) throws WSSecurityException
   {
      Reference ref = reference.getReference();
      if (ref instanceof DirectReference)
      {
         DirectReference direct = (DirectReference) ref;
         return resolveDirectReference(direct);
      }
      else if (ref instanceof KeyIdentifier)
      {
         KeyIdentifier identifier = (KeyIdentifier) ref;
View Full Code Here

   public BinarySecurityToken resolve(SecurityTokenReference reference) throws WSSecurityException
   {
      Reference ref = reference.getReference();
      if (ref instanceof DirectReference)
      {
         DirectReference direct = (DirectReference) ref;
         return resolveDirectReference(direct);
      }
      else if (ref instanceof KeyIdentifier)
      {
         KeyIdentifier identifier = (KeyIdentifier) ref;
View Full Code Here

/*     */   public BinarySecurityToken resolve(SecurityTokenReference reference) throws WSSecurityException
/*     */   {
/*  78 */     Reference ref = reference.getReference();
/*  79 */     if ((ref instanceof DirectReference))
/*     */     {
/*  81 */       DirectReference direct = (DirectReference)ref;
/*  82 */       return resolveDirectReference(direct);
/*     */     }
/*  84 */     if ((ref instanceof KeyIdentifier))
/*     */     {
/*  86 */       KeyIdentifier identifier = (KeyIdentifier)ref;
View Full Code Here

/*     */     {
/* 169 */       token = new X509Token(cert, message);
/* 170 */       this.header.addToken(token);
/*     */     }
/*     */
/* 173 */     SecurityTokenReference reference = new SecurityTokenReference(new DirectReference(message, token));
/* 174 */     sig.getKeyInfo().addUnknownElement(reference.getElement());
/*     */
/* 176 */     this.header.addSecurityProcess(new Signature(sig));
/*     */   }
View Full Code Here

TOP

Related Classes of org.jboss.ws.extensions.security.element.DirectReference

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.