Also there are few complications when configuring federated scenario for a
file based service provider. Following JIRA has more information.

https://wso2.org/jira/browse/IDENTITY-4581

For an elegant solution, it should fix above JIRA first. Otherwise you will
be endup with duplicating the full IdP configuration inside the service
provider config.


On Sun, May 29, 2016 at 7:31 PM, Darshana Gunawardana <[email protected]>
wrote:

> Hi Farasath,
>
> It seems like my assumption is wrong. As per the code [1] doesn't read
> from application-authentication.xml to read default behaviour. It is
> reading from default service provider file
> (/conf/identity/service-providers/default.xml). IMO this is a bug, it need
> to pick that behaviour from the application-authentication.xml.
>
> [1]
> https://github.com/wso2/carbon-identity-framework/blob/master/components/application-mgt/org.wso2.carbon.identity.application.mgt/src/main/java/org/wso2/carbon/identity/application/mgt/ApplicationManagementServiceImpl.java#L799:L806
>
> Regards,
>
> On Sun, May 29, 2016 at 4:51 PM, Farasath Ahamed <[email protected]>
> wrote:
>
>>
>> Hi All,
>>
>> When trying to set the "*Local & Outbound Authentication Configuration*"
>> for a Service Provider I noticed a default option. If someone wants to use
>> a custom/federated authenticator as the default option how can we achieve
>> this?
>>
>> Based on a discussion with Darshana, I tried to achieve this by modifying
>> the default sequence in application-authentication.xml file found at
>> IS_HOME/repository/conf/identity as below,
>>
>> <Sequences>
>> <!-- Default Sequence. This is mandatory -->
>> <Sequence appId="default">
>> <Step order="1">
>> <Authenticator name="OpenIDConnectAuthenticator" />
>> </Step>
>> </Sequence>
>> </Sequences>
>>
>> Even then I am redirected to use the default BasicAuthenticator (username
>> and password). Are there any other changes that need to be done to engage a
>> federated/custom authenticator as the default throughout IS?
>>
>>
>> Thanks,
>> Farasath Ahamed
>> Software Engineer,
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>>
>> Email: [email protected]
>> Mobile: +94777603866
>> Blog: blog.farazath.com
>> Twitter: @farazath619 <https://twitter.com/farazath619>
>>
>
>
>
> --
> Regards,
>
>
> *Darshana Gunawardana*Senior Software Engineer
> WSO2 Inc.; http://wso2.com
>
> *E-mail: [email protected] <[email protected]>*
> *Mobile: +94718566859 <%2B94718566859>*Lean . Enterprise . Middleware
>



-- 
Regards,


*Darshana Gunawardana*Senior Software Engineer
WSO2 Inc.; http://wso2.com

*E-mail: [email protected] <[email protected]>*
*Mobile: +94718566859 <%2B94718566859>*Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to