Closed yurem closed 5 years ago
Also we need to update next velocity template: https://github.com/GluuFederation/oxTrust/blob/a22c5b96c998327f63b88fd4705b994b8dff2839/configuration/template/shibboleth3/idp/attribute-resolver.xml.vm#L51
We can use next pattern for example:
#if($resovlerParams.persistenceType.equals('couchbase'))
<resolver:DataConnector id="siteLDAP" xsi:type="dc:RelationalDatabase">
<dc:BeanManagedConnection>DbDataSource</dc:BeanManagedConnection>
<dc:QueryTemplate>
<![CDATA[
%{idp.attribute.resolver.N1QL.searchFilter}
]]>
</dc:QueryTemplate>
</resolver:DataConnector>
#else
<resolver:DataConnector id="siteLDAP" xsi:type="dc:LDAPDirectory"
...
#end
@mbaser let me know when you will finidh this. I will update oxTrust to set resovlerParams.persistenceType
Here are list of steps which we need to implement: