We have installed and configured RedHat APIMan for our working API and the plan is migration form current home-grown tiny gateway to APIMan. The problem is that we have some unprotected endpoints which do not need login (Not everyone role! No login required at all). We are using Keycloak OAuth plugin for roles, and Authorization Policy for API security. When Authorization policy is not added, I can allow unauthenticated requests via a boolean value in Keycloak OAuth policy, but after adding Authorization policy, there is no way to let unauthenticated requests pass!
How to configure RedHat APIMan Authorization Policy for unprotected endpoints?
199 views Asked by Kamyar At
1
There are 1 answers
Related Questions in REDHAT
- Choosing OpenShift Over DIY Kubernetes on Bare Metal: Benefits and Storage Management
- Is it possible to mount a logical volume without wiping the data?
- How to setup security on elasticsearch based on redhat image in openshift
- How to use the host IP as the connection to an external server in a docker container?
- looking for help on package for REHL UBI 8/9: saxon
- libxml2 and libxslt development packages issue in Redhat Linux
- Get Apache to create files as the web site owner
- Differences in behavior of kill(pid, SIGINT) between Debian and Red Hat based distros
- cannot contain "Catalina sh not working in java devel"
- Puppet Unknown variable: 'osfamily' on Rocky 9
- Cannot extend jboss-eap-7 container
- How to auto confirm question with parted tool using Ansible in Linux
- dockerfile - add a package to ubi minimal base image from private repository
- I want to access a password stored in a elytron credential store using system properties in jboss eap 7.4 version
- connection issues when MLFLow is hosted on remote server
Related Questions in API-GATEWAY
- Minimizing IdentityServer4 Round Trips in Microservice Architecture with Ocelot
- Using Django as API gateway & authorizations service in Microservice
- Using AWS API HTTP Gateway with HTTP Backend without 301 redirection
- Websocket duplicate on headers
- LocalStack API Gateway Not Triggering Lambda Function from HTML Form Submission
- ApiGateway is not routing the api call
- Handling Microservice Failures in a Consul-Managed Architecture
- How to disable showing default Axis2 services (https://localhost:8243/services/Version?wsdl) in WSO2 API manager 3.2.0?
- Caching : functools vs API Gateway
- disable soap in wso2 api manager gateway https://IPaddr:9443/services
- add custom header at aws lambda authorizer
- Ocelot .NET API gateway: Failed to load API definition
- I want Netty webserver instead of tomcat in my spring-boot project with webflux
- Spring cloud gateway not able to find the service recource
- How to encode parameters for AWS API Gateway (HTTP API)?
Related Questions in IBM-API-MANAGEMENT
- XSLT to remove soap envelope and soap namespaces and process the soap body
- No module named 'ibm_watson.natural_language_understanding_v3'
- Azure Developer Portal: How to update to new version
- Terraform API Management API Policy - All APIs
- Authentication failed when trying to download azure API Management locally
- Azure API Management Policy for validate Request Parameter Values
- Azure Apim Set-AzApiManagementPolicy gives Entity with specified identifier not found
- Azure APIM Validate-Content Inbound policy, Validate Request Body
- Azure api management not hitting azure redis cache when request have more than 10 MB
- How to secure Mule applications traffic
- What is the default timeout set in forward-request
- Update Azure APIM Name (Api.Id) after cloning using Azure Portal?
- Record and Persist API call details in KrakenD for API monetization
- Any API gateway solution which has plugin to output data into Kafka
- Azure APIM Instance - Failed to update API management service hostnames
Related Questions in APIMAN
- I am not able to login into apiman ui ,getting forbidden msg after entering credentials
- Apiman: I can not set policy configuration with admin-cli
- Changing the default Context of the Apiman Target Gateway URL
- Error with client/contracts using API's functionality
- Apiman 2.0.0 security vulnerabilities
- Not able to change the End point URL in APIMan to public IP
- Having maven inside docker along with wildfly server
- How to configure RedHat APIMan Authorization Policy for unprotected endpoints?
- wildfly-20.0 -Apiman 2.0 Publish Issue
- Bypass keycloak login system with rest api using java and generate realm/application URL
- Gradle process resources and include in war
- API Man plugin - Wildfly dependency conflict
- APIMan return error 400 for header Access-Control-Request-Method
- How to overwrite apiman.gateway-endpoint default property values in Apiman (1.3.1.Final)
- Authorization policy is breaking preflight check in APIMAN
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)




Kamyar. Apiman developer here.
Please file a feature request for this over at https://github.com/apiman/apiman/issues.
I think what you are trying to do may not currently be possible easily because the authentication policy is expecting a successful auth of some sort before it is hit (to get the roles, etc).
We probably need a slightly more detailed explanation of your use-case, and then we can figure out whether we can support it. It seems like it should be doable without major changes if I understand correctly.
If and when we add support for the specifics of your requirement, I will endeavour to update this ticket.