on 05-07-2010 6:23 PM
Hi there,
this should be an obvious thing, which is why it's getting so frustrating. I'm using MII 12.1 SP 5 and want to test the iCommand Display Template with Authentication for a normal SQL insert statement.
In the iCommand Display Template, I've selected the following:
- Audit Checkbox
- "SAP_XMII_Administrator" for the Command Audit Role 1
- Command Audit Role 1 Logon Required Checkbox
- I've entered some text for: "Category", "Command Text" and "Return Message"
The rest of the configurations have been left blank.
When I try to run the javascript:
iCommand.executeCommand();
I get the java pop up window for the role authentication (username and password entry). I capture the details of a user which belongs to the SAP_XMII_Administrator role (and all the other SAP_XMII roles too). I then get the error message:
"Authentication Check 1: Authentication failed; the query will not run.
SAP_XMII_Administrator Role is required to authenticate"
Has anyone come across this problem?
Thanks
The error message you are getting comes from a mixed up user name / pwd. Both Audit 1 and 2 test fine for me on 12.1.5 Build(90).
Double check the case of your pwd, I can force the error you mentioned by entering a bogus user / pwd, or an incorrect pwd for a valid user, and it also happens when I have the wrong cAsE for my pwd.
It would appear that the user name is not case sensitve, but the pwd is. The same is true for my example on a 12.0 system.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Despite the embarrassment, I wish that was the problem
I've tried it a couple of times with various different users, but it still doesn't work. Could there be any conflict if a user belongs to all roles (although I wouldn't think so - I have tried playing around with this and didn't get any different response)? Could there be something in the UME that I need to look into?
Out of curiosity, Jeremy, when you put in an incorrect username/password, are the NetWeaver error logs the same as mine posted above?
Thanks for the help
Non-existing user (mickeymouse used as user name):
Unable to authenticate user mickeymouse
[EXCEPTION]
com.sap.security.api.NoSuchUserAccountException: USER_AUTH_FAILED: User account for logonid "mickeymouse" not found!
Valid user, bad pwd:
Authentication Failed (prior log entries show the user name as IllumLoginName) and record prior says: AUDIT::Processing request now
Java console:
AutoBindingCommand [ERROR] - Error verifing user, null
Thanks Jeremy, for going through the different scenarios, from what I see in your logs, it seems as though I'm getting an different error to what you get. Could there be something in the UME that isn't kosher? I have tried the "novice" approach of rebooting the box to try clear out any cache other than just the consol. I'll try install the latest patch to see if it "cleans" it up
Hi Arnaud,
I created the iCommand Display Object in the workbench and then generated the html Applet code using the code generation tool again in the workbench. What I also did was copy the iCommand Display so I had another one which I could use to test the second authentication pop up box.
Don't know if that's what you were asking? If so, what errors have you encountered?
Thanks.
Lawrence,
Is there any more information regarding this error in the NW logs?
- Kevin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kevin,
thanks. Had a look at the logs and it throws an error about not being able to find the template. I won't copy all the details in, but the first bit is the following:
Severity Date Time Message Category Location Application
Warning 07/05/2010 21:29:47:203 No Template Defined /Applications/XMII com.sap.xmii.Illuminator.templates.TemplateManager sap.com/xapps~xmii~ear
Error 07/05/2010 21:29:47:375 Catalog Service Error /Applications/XMII/Xacute com.sap.xmii.servlet.Catalog sap.com/xapps~xmii~ear
Error 07/05/2010 21:29:47:375 Catalog Service Error com.sap.xmii.servlet.Catalog com.sap.xmii.servlet.Catalog sap.com/xapps~xmii~ear
[EXCEPTION]
com.sap.xmii.Illuminator.logging.LHException: Template was not found; cannot load Predefined/AuditServiceVerify
at com.sap.xmii.common.CatalogUtil.doLoad(CatalogUtil.java:138)
at com.sap.xmii.servlet.Catalog.handleLoad(Catalog.java:394)
at com.sap.xmii.servlet.Catalog.service(Catalog.java:140)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:162)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:81)
at com.sap.xmii.system.SecurityFilter.doFilter(SecurityFilter.java:96)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:73)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:441)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:291)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:396)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:385)
at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:48)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
And then a few more lines of exceptions which don't seem to be associated with the problem. Could this mean that the iCommand Template is not being picked up? It must've found something to know that the SAP_XMII_Administrator Role had to be used.
Thanks
User | Count |
---|---|
9 | |
7 | |
3 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.