You can restrict access to `/carbon` by putting this to
`repository/conf/tomcat/carbon/WEB-INF/web.xml`[1], if that's what you're
looking for.
<security-constraint>
<display-name>Restrict direct access to certain
folders</display-name>
<web-resource-collection>
<web-resource-name>Restricted folders</web-resource-name>
<url-pattern>/carbon/*</url-pattern>
</web-resource-collection>
<auth-constraint />
</security-constraint>
[1]
https://stackoverflow.com/questions/42254730/i-would-like-to-block-the-login-for-the-management-console-aka-carbon-from-the/42256071#42256071
Thanks,
Bhathiya
On Sat, Jun 2, 2018 at 10:51 AM Shiva Kumar K R <[email protected]>
wrote:
> Hi Farasath,
>
> Thanks for ur quick reply. I will be configuring load balancer that is
> true but I don't want all the nodes to contain admin console just like in
> WSO2 APIM, how can I do that.
>
> On Fri 1 Jun, 2018, 11:41 PM Farasath Ahamed, <[email protected]> wrote:
>
>> On Friday, June 1, 2018, Shiva Kumar <[email protected]> wrote:
>>
>>> Hi All,
>>>
>>> I want to deploy WSO2 IS in cluster mode, If I want to have admin
>>> console to be available in only one node in the cluster, what web apps I
>>> should remove?
>>
>>
>> I believe you will be fronting the cluster with a Load Balancer.
>>
>> Why not send the traffic coming "/carbon" and "/" contexts to a specific
>> node via LB configs?
>>
>> This would make sure that whenever someone tries to access the management
>> console it will be served from the designated node.
>>
>>>
>>>
>>> Thanks,
>>>
>>> Shiva
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>
>>
>> --
>> Farasath Ahamed
>> Senior Software Engineer, WSO2 Inc.; http://wso2.com
>> Mobile: +94777603866
>> Blog: blog.farazath.com
>> Twitter: @farazath619 <https://twitter.com/farazath619>
>> <http://wso2.com/signature>
>>
>>
>>
>>
>> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
--
*Bhathiya Jayasekara*
*Associate Technical Lead,*
*WSO2 inc., http://wso2.com <http://wso2.com>*
*Phone: +94715478185*
*LinkedIn: http://www.linkedin.com/in/bhathiyaj
<http://www.linkedin.com/in/bhathiyaj>*
*Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>*
*Blog: http://movingaheadblog.blogspot.com
<http://movingaheadblog.blogspot.com/>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev