Package org.jboss.security.auth.certs

Examples of org.jboss.security.auth.certs.SubjectDNMapping


         certMapping = (CertificatePrincipal) cpClass.newInstance();
      }
      catch (Exception e)
      {
         log.error("Failed to load CertificatePrincipal: " + className, e);
         certMapping = new SubjectDNMapping();
      }
   }
View Full Code Here


         certMapping = (CertificatePrincipal) cpClass.newInstance();
      }
      catch (Exception e)
      {
         log.error("Failed to load CertificatePrincipal: " + className, e);
         certMapping = new SubjectDNMapping();
      }
   }
View Full Code Here

         {
            log.error("Failed to load CertificatePrincipal '" + certificatePrincipal + "', using default SubjectDNMapping.", e);
         }
      }
      if (certMapping == null)
         certMapping = new SubjectDNMapping();
   }
View Full Code Here

         throw new IllegalArgumentException("ContextMap is null");
     
      X509Certificate[] certs = (X509Certificate[]) contextMap.get("X509");
      if(certs != null)
      {
        SubjectDNMapping sdn = new SubjectDNMapping();
        principal = sdn.toPrinicipal(certs);
        if(log.isTraceEnabled())
           log.trace("Mapped to Principal:"+principal);
      }

      result.setMappedObject(principal);
View Full Code Here

         throw new IllegalArgumentException("ContextMap is null");
     
      X509Certificate[] certs = (X509Certificate[]) contextMap.get("X509");
      if(certs != null)
      {
        SubjectDNMapping sdn = new SubjectDNMapping();
        principal = sdn.toPrinicipal(certs);
        if(log.isTraceEnabled())
           log.trace("Mapped to Principal:"+principal);
      }

      result.setMappedObject(principal);
View Full Code Here

         throw new IllegalArgumentException("ContextMap is null");
     
      X509Certificate[] certs = (X509Certificate[]) contextMap.get("X509");
      if(certs != null)
      {
        SubjectDNMapping sdn = new SubjectDNMapping();
        principal = sdn.toPrinicipal(certs);
        if(log.isTraceEnabled())
           log.trace("Mapped to Principal:"+principal);
      }

      result.setMappedObject(principal);
View Full Code Here

         {
            log.error("Failed to load CertificatePrincipal '" + certificatePrincipal + "', using default SubjectDNMapping.", e);
         }
      }
      if (certMapping == null)
         certMapping = new SubjectDNMapping();
   }
View Full Code Here

/* 65 */       throw new IllegalArgumentException("ContextMap is null");
/*    */     }
/* 67 */     X509Certificate[] certs = (X509Certificate[])(X509Certificate[])contextMap.get("X509");
/* 68 */     if (certs != null)
/*    */     {
/* 70 */       SubjectDNMapping sdn = new SubjectDNMapping();
/* 71 */       principal = sdn.toPrinicipal(certs);
/* 72 */       if (log.isTraceEnabled()) {
/* 73 */         log.trace("Mapped to Principal:" + principal);
/*    */       }
/*    */     }
/* 76 */     this.result.setMappedObject(principal);
View Full Code Here

TOP

Related Classes of org.jboss.security.auth.certs.SubjectDNMapping

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.