FYI,
We have added $subject to Carbon, and the corresponding configuration (in
carbon.xml) is as follows:
<Security>
...
<Authenticators>
<!-- configuration for a single authenticator -->
<Authenticator>
<!--
the pattern that would match a subset of URLs for which
this authenticator
would be used
-->
<Pattern>.*</Pattern>
<!--
the type of this authenticator. Allowed values are:
1. server
2. proxy
-->
<Type>server</Type>
<!-- the username used to log in to server/proxy -->
<Username>name</Username>
<!-- the password used to log in to server/proxy -->
<Password>password</Password>
</Authenticator>
<Authenticator>
<!--
the pattern that would match a subset of URLs for which
this authenticator
would be used
-->
<Pattern>.*</Pattern>
<!--
the type of this authenticator. Allowed values are:
1. server
2. proxy
-->
<Type>proxy</Type>
<!-- the username used to log in to server/proxy -->
<Username>name</Username>
<!-- the password used to log in to server/proxy -->
<Password>password</Password>
</Authenticator>
</Authenticators>
</Security>
This allows you to define multiple authenticators to log into multiple
servers/proxies that require authentication. This is also useful for
situations where Carbon is running behind a proxy (ex:- installing from P2
repo behind proxy, accessing WSDL file from server that requires
authentication, importing documents from sharepoint secured by NTLM
authentication into the registry).
Thanks,
Senaka.
--
*Senaka Fernando*
Product Manager - WSO2 Governance Registry;
Associate Technical Lead; WSO2 Inc.; http://wso2.com*
Member; Apache Software Foundation; http://apache.org
E-mail: senaka AT wso2.com
**P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
Linked-In: http://linkedin.com/in/senakafernando
*Lean . Enterprise . Middleware
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev