Examples of IdentityType


Examples of com.sun.xml.security.core.ai.IdentityType

                throw new WSTrustException(ex.getMessage());
            }
            JAXBElement<BinarySecurityTokenType> bstElem = new com.sun.xml.ws.security.secext10.ObjectFactory().createBinarySecurityToken(bst);
           
            // Cretae Identity element
            IdentityType idElem = new IdentityType();
            idElem.getDnsOrSpnOrUpn().add(bstElem);
            aplTo.getAny().add(new com.sun.xml.security.core.ai.ObjectFactory().createIdentity(idElem));
        }
    }
View Full Code Here

Examples of com.sun.xml.security.core.ai.IdentityType

                    bst.setEncodingType(MessageConstants.BASE64_ENCODING_NS);
                    if (cs != null) {
                        bst.setValue(cs.getEncoded());
                    }
                    JAXBElement<BinarySecurityTokenType> bstElem = new com.sun.xml.ws.security.secext10.ObjectFactory().createBinarySecurityToken(bst);
                    IdentityType identityElement = new IdentityType();
                    identityElement.getDnsOrSpnOrUpn().add(bstElem);

                    reader = readHeader(identityElement);

                } catch (CertificateEncodingException ex) {
                    log.log(Level.SEVERE, com.sun.xml.wss.logging.LogStringsMessages.WSS_0818_ERROR_PUTTING_CERTIFICATE_EPRIDENTITY(), ex);
View Full Code Here

Examples of gov.nist.checklists.xccdf.x11.IdentityType

  public void setTestSystem(String string) {
    data.setTestSystem(string);
  }

  public void appendIdentity(String name, Boolean privileged, Boolean authenticated) {
    IdentityType identity = data.addNewIdentity();
    identity.setStringValue(name);
    if (privileged != null) {
      identity.setPrivileged(privileged);
    }
    if (authenticated != null) {
      identity.setAuthenticated(authenticated);
    }
  }
View Full Code Here

Examples of gov.nist.checklists.xccdf.x12.IdentityType

  public void setTestSystem(String string) {
    data.setTestSystem(string);
  }

  public void appendIdentity(String name, Boolean privileged, Boolean authenticated) {
    IdentityType identity = data.addNewIdentity();
    identity.setStringValue(name);
    if (privileged != null) {
      identity.setPrivileged(privileged);
    }
    if (authenticated != null) {
      identity.setAuthenticated(authenticated);
    }
  }
View Full Code Here

Examples of javax.jdo.annotations.IdentityType

        String annotationTableAttribute = annotation.table();
        if (Strings.isNullOrEmpty(annotationTableAttribute)) {
            annotationTableAttribute = cls.getSimpleName();
        }

        final IdentityType annotationIdentityType = annotation.identityType();
       
        FacetUtil.addFacet(new JdoPersistenceCapableFacetAnnotation(
                annotationTableAttribute, annotationIdentityType, processClassContext.getFacetHolder()));
        return;
    }
View Full Code Here

Examples of javax.jdo.annotations.IdentityType

            public boolean visit(ObjectSpecification objSpec, ValidationFailures validationFailures) {
                final JdoPersistenceCapableFacet jpcf = objSpec.getFacet(JdoPersistenceCapableFacet.class);
                if(jpcf == null) {
                    return true;
                }
                final IdentityType identityType = jpcf.getIdentityType();
                if(identityType == IdentityType.APPLICATION) {
                    // ok
                   
                } else if(identityType == IdentityType.NONDURABLE) {
                    // ok; for use with view models (http://www.datanucleus.org/products/accessplatform_3_2/datastores/rdbms_views.html)
View Full Code Here

Examples of org.cipango.kaleo.policy.IdentityType

  private boolean match(ConditionsType conditions, String subscriberAor, String domain)
  {
    boolean matchIdentity = conditions.getIdentityArray().length == 0;
    for (int i = 0; i < conditions.getIdentityArray().length; i++)
    {
      IdentityType identity = conditions.getIdentityArray(i);
      for (int j = 0; j < identity.getOneArray().length; j++)
        if (identity.getOneArray(j).getId().equals(subscriberAor))
          matchIdentity = true;
      for (int j = 0; j < identity.getManyArray().length; j++)
      {
        ManyType manyType = identity.getManyArray(j);
        if (manyType.getDomain().equals(domain))
        {
          boolean match = true;
          for (int k = 0; k < manyType.getExceptArray().length; k++)
            if (manyType.getExceptArray(k).getId().equals(subscriberAor))
View Full Code Here

Examples of org.datanucleus.metadata.IdentityType

                cmd.setPersistenceModifier(ClassPersistenceModifier.PERSISTENCE_AWARE);
            }

            if (cmd != null)
            {
                IdentityType identityType = IdentityType.APPLICATION;
                String identityColumn = null;
                String identityStrategy = null;
                String identityGenerator = null;

                String cacheable = "true";
View Full Code Here

Examples of org.datanucleus.metadata.IdentityType

                cmd.setPersistenceModifier(ClassPersistenceModifier.PERSISTENCE_AWARE);
            }

            if (cmd != null)
            {
                IdentityType identityType = IdentityType.APPLICATION;
                String identityColumn = null;
                String identityStrategy = null;
                String identityGenerator = null;

                String cacheable = "true";
View Full Code Here

Examples of org.jboss.identity.idm.api.IdentityType

   public AttributeDescription getAttributeDescription(String id, String attributeName)
   {
      checkNotNullArgument(id, "IdentityType Id");
      checkNotNullArgument(attributeName, "Attribute name");

      IdentityType identityType = createIdentityTypeFromId(id);

      return getAttributeDescription(identityType, attributeName);
     
   }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.