Is there any way to restrict access by configuring in WildFly? -


is there way restrict access configuring in wildfly. know whether can add list of ips can access server? there way blacklist ips in server level?

i checking feature this: http://boseca.blogspot.in/2010/12/programmatically-addremove-ip-security.html

you can implement ip filter on jboss level adding filter-ref , expression filter shown below

 <subsystem xmlns="urn:jboss:domain:undertow:3.0" statistics-enabled="true" instance-id="instanceid">         <buffer-cache name="default"/>         <server name="default-server">             <ajp-listener name="ajp" max-connections="1200" write-timeout="600000" read-timeout="30000" allow-equals-in-cookie-value="true" record-request-start-time="true" socket-binding="ajp"/>             <http-listener name="default" allow-equals-in-cookie-value="true" socket-binding="http"/>             <host name="default-host" alias="localhost">                 <location name="/" handler="welcome-content"/>                   <access-log suffix=".log" prefix="access" pattern="%a %h %{i,sm_user} %u %t %r %s %b %t"/>                   <filter-ref name="limit-connections"/>                 <filter-ref name="ipaccess"/>                 <single-sign-on/>             </host>         </server>         <servlet-container name="default">             <jsp-config/>             <websockets/>         </servlet-container>         <handlers>             <file name="welcome-content" path="${jboss.home.dir}/welcome-content"/>         </handlers>          <filters>             <request-limit name="limit-connections" queue-size="100" max-concurrent-requests="1200"/>             <expression-filter  module="io.undertow.core" name="ipaccess" expression="ip-access-control[default-allow=false, acl={'10.0.0.1 deny', '10.0.0.0/24 allow'}]"/>         </filters>     </subsystem> 

Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -