Hi APIM Team,

The API Security Handler is one of the key extension points and widely
implemented extension points  of the API Gateway architecture. I want to
clarify if there are any limitations when implementing this extension point.

Expectation is if the API Security Handler has been extended to do client
authentication or user authentication in a customized way, still the API
Throttling and API Analytics need to work as long as the necessary context
information regarding the application and end user are populated by the
authentication handler.

1. Will application throttling still work if we haven't used
client_id/client_secret authentication to obtain OAuth2 access token?
For example, Basicauth, JWT, X509 certs, IP whitelisting, etc. I think it
should work as long as we have mapped whatever credential the application
used to an application registered in API Manager. Correct?

2. Will end user analytics still work if we haven't issued the access token
for a particular end user?
For example consider the scenario where, the application gets an access
token using client_credentials grant type, but the API Security Handler
identifies the end user using a custom header in the API call, at the API
Gateway. The gateway can only be reached by the application.

How does throttling and analytics extend to federated users?

3. The JWT based throttling capability we have, seems to be tightly coupled
to the Key Manager's own JWT. It seems we cannot to use an external JWT and
do advanced throttling. Which means this won't work for federated users.

4. If the access token was issued for a federated user using SAML2 or
OpenID Connect protocol in IS as KM, for users who are not in the IS
userstore, does the end user analytics still work for them?

5. Also on a different note, can we now enable JWT generation in the Key
Manager when there is a requirement for local users and federated users to
login? I remember sometime back there was an issue when JWT generation is
enabled and federated users login. I think the issue was because the JWT
generator goes and tries to find a user in the local user store and fails.

Thanks & Regards,
Johann.

-- 

*Johann Dilantha Nallathamby*
Senior Lead Solutions Engineer
WSO2, Inc.
lean.enterprise.middleware

Mobile - *+94777776950*
Blog - *http://nallaa.wordpress.com <http://nallaa.wordpress.com>*
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to