use of org.wso2.carbon.identity.core.model.ExpressionNode in project identity-api-server by wso2.
the class ServerAuthenticatorManagementService method getFilteredIdPs.
private void getFilteredIdPs(int limit, int offSet, List<String> requestedAttributeList, List<IdentityProvider> identityProviders, List<ExpressionNode> expressionNodes) {
try {
IdpSearchResult idpSearchResult = AuthenticatorsServiceHolder.getInstance().getIdentityProviderManager().getIdPs(limit, (offSet + limit), null, null, ContextLoader.getTenantDomainFromContext(), requestedAttributeList, expressionNodes);
identityProviders.addAll(idpSearchResult.getIdPs());
} catch (IdentityProviderManagementException e) {
throw handleIdPException(e, Constants.ErrorMessage.ERROR_CODE_ERROR_LISTING_IDPS, null);
}
}
Aggregations