IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  How to check permissions in MWS programmatically

    Posted 05/11/13 07:12 PM

    Hello.

    I want to check (from within a program) whether a certain MWS role (configured in MWS via user management) is allowed to see a certain page (specified by its alias). I.e. I’d need a function like this:

    boolean hasPermission(String roleName, String pageAlias)

    How is it possible to implement it? The function would be executed in MWS (not in IS). Is there some API to accomplish this?

    There is a code sample (http://techcommunity.softwareag.com/ecosystem/communities/codesamples/webmethods/caf/SAMPLE-20130313141546300.html), but the code is not much documented and uses some classes which I could not find docs for.

    Any advice would be much appreciated.


    #webMethods
    #Integration-Server-and-ESB
    #webMethods-General


  • 2.  RE: How to check permissions in MWS programmatically

    Posted 08/10/15 10:23 AM

    Hello,

    Maybe a little bit late with this message, but I was wondering if you managed to find a solution for this.

    From my side the only idea that I have is to make HTTP calls to the page check what is the returned fault.

    Hope it helps,
    Vlad Turian


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: How to check permissions in MWS programmatically

    Posted 08/10/15 07:48 PM

    Hello,

    unfortunately, I was not able to find a solution. But someone else was :slight_smile: And the solution has long been posted in this thread.

    HTH


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods