Skip to Content

I had a task where I was working on creating some webservice for a client. One of my issues was that I needed to have authentication so it was only users running as administrators. We had implemented a webservice solution on Netweaver 7.0. On NW70 there were no problems in setting up the security settings. But on NW 7.3 I ran into problems. I decided to share this part with you, so you don’t have to find the solution yourself.

I was under the impression that it was possible to use the following statements to make sure that only administrators can call the webservice.

@RolesAllowed(“Administrator”)                     

@AuthenticationDT(authenticationLevel=AuthenticationEnumsAuthenticationLevel.BASIC)                     

public                    class AuthlogonBean implements AuthlogonLocal {

The allowed roles statement worked. Just remember to fill in the ejb-j2ee-engine with the security-permission and the role map.

But the authenticationDT does not work on the systems that I have tested. This part could not work, and destroyed the endpoints. I just removed the line as seen in the video.

Then I created a new end point in the NWA.

Watch the video to see more on how this works.

image

I know that this is just a work around and that the problem should be fixed, but I could manage to find a solution for it.

I hope that this helps you.

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply