[ 
https://issues.apache.org/jira/browse/FEDIZ-144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Bernhardt updated FEDIZ-144:
--------------------------------
    Description: 
HomeRealm Discovery can be based on various criteria. With Spring EL user will 
be able to provide custom handling based on their needs.

This can also be useful to perform a home realm mapping. Here is an example for 
that:

{code}<property name="hrds" 
value="{'mydomain.com':'urn:org:apache:cxf:fediz:idp:realm-A', 
'another-domain.com':'urn:org:apache:cxf:fediz:idp:realm-B'}[flowScope.get('whr')]"
 />{code}

In the above sample the provided whr parameter within a request would be mapped 
to {{urn:org:apache:cxf:fediz:idp:realm-A}} if the value is {{mydomain.com}}.

  was:
It can be useful to map a realm identifier from one value to another.

This could be helpful when you want to setup a more complex scenario with 
multiple IDP realms, but for now you want all of these realms to be covered by 
a single IDP installation and maybe some time later you plan to use distinct 
IDPs for each realm. If you can map the realm identifier it would be easy to 
setup such a usecase.

Another usecase would be to map a home realm identifier (whr) to a different 
value. This way you could link the home realm requested by an application to a 
specific IDP possibly listening for a different realm identifier. 


> HomeRealm Discovery Service based on Spring EL
> ----------------------------------------------
>
>                 Key: FEDIZ-144
>                 URL: https://issues.apache.org/jira/browse/FEDIZ-144
>             Project: CXF-Fediz
>          Issue Type: New Feature
>          Components: IDP
>            Reporter: Jan Bernhardt
>            Assignee: Jan Bernhardt
>             Fix For: 1.3.0
>
>
> HomeRealm Discovery can be based on various criteria. With Spring EL user 
> will be able to provide custom handling based on their needs.
> This can also be useful to perform a home realm mapping. Here is an example 
> for that:
> {code}<property name="hrds" 
> value="{'mydomain.com':'urn:org:apache:cxf:fediz:idp:realm-A', 
> 'another-domain.com':'urn:org:apache:cxf:fediz:idp:realm-B'}[flowScope.get('whr')]"
>  />{code}
> In the above sample the provided whr parameter within a request would be 
> mapped to {{urn:org:apache:cxf:fediz:idp:realm-A}} if the value is 
> {{mydomain.com}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to