Package org.glassfish.web.deployment.descriptor

Examples of org.glassfish.web.deployment.descriptor.UserDataConstraintImpl


      // get the errorpage's in this .war
      for (Enumeration e = descriptor.getSecurityConstraints() ; e.hasMoreElements() ;) {
    foundIt = false;
                noSc++;
    SecurityConstraintImpl securityConstraintImpl = (SecurityConstraintImpl) e.nextElement();
    UserDataConstraintImpl userDataConstraint = (UserDataConstraintImpl) securityConstraintImpl.getUserDataConstraint();
    if (userDataConstraint != null) {
                    String transportGuarantee = userDataConstraint.getTransportGuarantee();
        if (transportGuarantee.length() > 0) {
            if ((transportGuarantee.equals("NONE")) ||
          (transportGuarantee.equals("INTEGRAL")) ||
          (transportGuarantee.equals("CONFIDENTIAL"))) {
          foundIt = true;
View Full Code Here


     * @return the descriptor instance to associate with this XMLNode
     */
    @Override
    public UserDataConstraintImpl getDescriptor() {
        if (descriptor==null) {
            descriptor = new UserDataConstraintImpl();
        }
        return descriptor;
    }
View Full Code Here

TOP

Related Classes of org.glassfish.web.deployment.descriptor.UserDataConstraintImpl

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.