Hi, You can find the details for writing a custom handler in [1].
[1] - https://docs.wso2.com/display/AM210/Writing+Custom+Handlers Thank you! On Thu, Jul 6, 2017 at 7:40 AM, Júnior <[email protected]> wrote: > I see, thank you for the very useful information. > > Thanks! > > 2017-07-05 21:56 GMT-03:00 Rajkumar Rajaratnam <[email protected]>: > >> There is no out of the box way to secure your APIs with basic >> authentication in WSO2 API Manager. But you can write a new authentication >> handler for your requirement. >> >> However please note you need to evaluate the security mechanism and how >> it is applied via a handler first. For example, when the current handler >> receives an OAuth2 access token, it knows the user, application, >> subscription information. That's how it knows how to throttle and publish >> stats accordingly. You need to be able to find these information from your >> new handler you introduce for the throttling and stats to work accurately. >> >> Thanks. >> >> On Wed, Jul 5, 2017 at 4:02 PM, Júnior <[email protected]> wrote: >> >>> Hello, >>> >>> I am trying to configure an API on WSO2AM 2.1.0, and the only >>> authentication mechanism it supports is via OAuth. Is there any way to use >>> Basic Auth for API Authentication? >>> >>> Thanks, >>> -- >>> Francisco Ribeiro >>> *SCEA|SCJP|SCWCD|IBM Certified SOA Associate* >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Rajkumar Rajaratnam >> Committer & PMC Member, Apache Stratos >> Senior Software Engineer, WSO2 >> >> LinkedIn: https://lk.linkedin.com/in/rajuu >> Mobile: +1 408 791 7640 <(408)%20791-7640> >> Blogs: http://wso2tech.blogspot.com/ | https://medium.com/@wso2tech >> > > > > -- > Francisco Ribeiro > *SCEA|SCJP|SCWCD|IBM Certified SOA Associate* > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Pubudu Gunatilaka* Committer and PMC Member - Apache Stratos Software Engineer WSO2, Inc.: http://wso2.com mobile : +94774078049 <%2B94772207163>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
