I've given this the name because this is standard Java terminology. What we are implementing is an extension of java.net.Authenticator. Giving this some other name would confuse somebody. Also having said that, Authenticator in the java world is something that provides credentials for authentication. But the CarbonAuthenticator IIRC is not doing quite that, making the latter inconsistent. But, since we have been having it for a while, I'm not sure what's the correct choice here. Anyway, giving this some other name does not sound the correct thing to do.
According to my understanding, with regard to proxy configuration in Axis2, that's only if the server is fronted by a proxy while lies between client and server (ex:- Apache2 mod_proxy). This fix is to allow the server to access resources that lie behind multiple proxies (ex:- to access WSDL behind URL 1 you need proxy settings 1, and to access WSDL behind URL 2 you need proxy settings 2). So, what you have in Axis2 is client-oriented (i.e. for fixing WSDL URLs appropriately and all), and what we have introduced in here is server-oriented. Thanks, Senaka. On Tue, Sep 6, 2011 at 1:29 AM, Prabath Siriwardena <prab...@wso2.com>wrote: > Hi Senaka, > > The words "Authenticators/Authenticator" would easily conflict with > the Carbon Authenticators - can you please come up with different > words.. > > Also - how does this differ from proxy configuration in axis2.xml..? > > Thanks & regards, > -Prabath > > On Tue, Sep 6, 2011 at 1:16 AM, Senaka Fernando <sen...@wso2.com> wrote: > > 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 > > Carbon-dev@wso2.org > > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > > > > > > > -- > Thanks & Regards, > Prabath > > http://blog.facilelogin.com > http://RampartFAQ.com > _______________________________________________ > Carbon-dev mailing list > Carbon-dev@wso2.org > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > -- *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 Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev