Search in sources :

Example 6 with SecurityConstraintMetaData

use of org.jboss.metadata.web.spec.SecurityConstraintMetaData in project wildfly by wildfly.

the class WebMetaDataHelper method newSecurityConstraint.

/**
     * Creates new security constraint meta data and associates them with security constraints meta data.
     *
     * @param securityConstraintsMD security constraints meta data
     * @return new security constraing meta data
     */
public static SecurityConstraintMetaData newSecurityConstraint(final List<SecurityConstraintMetaData> securityConstraintsMD) {
    final SecurityConstraintMetaData securityConstraintMD = new SecurityConstraintMetaData();
    securityConstraintsMD.add(securityConstraintMD);
    return securityConstraintMD;
}
Also used : SecurityConstraintMetaData(org.jboss.metadata.web.spec.SecurityConstraintMetaData)

Aggregations

SecurityConstraintMetaData (org.jboss.metadata.web.spec.SecurityConstraintMetaData)6 WebResourceCollectionMetaData (org.jboss.metadata.web.spec.WebResourceCollectionMetaData)4 ArrayList (java.util.ArrayList)3 HashMap (java.util.HashMap)3 List (java.util.List)3 JBossServletMetaData (org.jboss.metadata.web.jboss.JBossServletMetaData)3 ServletMappingMetaData (org.jboss.metadata.web.spec.ServletMappingMetaData)3 WebResourceCollectionsMetaData (org.jboss.metadata.web.spec.WebResourceCollectionsMetaData)3 HashSet (java.util.HashSet)2 Map (java.util.Map)2 Set (java.util.Set)2 SecurityRoleRefMetaData (org.jboss.metadata.javaee.spec.SecurityRoleRefMetaData)2 HttpMethodConstraintMetaData (org.jboss.metadata.web.spec.HttpMethodConstraintMetaData)2 HandlerWrapper (io.undertow.server.HandlerWrapper)1 HttpHandler (io.undertow.server.HttpHandler)1 PredicatedHandler (io.undertow.server.handlers.builder.PredicatedHandler)1 CachingResourceManager (io.undertow.server.handlers.resource.CachingResourceManager)1 FileResourceManager (io.undertow.server.handlers.resource.FileResourceManager)1 ResourceManager (io.undertow.server.handlers.resource.ResourceManager)1 ServletExtension (io.undertow.servlet.ServletExtension)1