IBM Security Verify

 View Only

ISVA 10 - AD reset password

  • 1.  ISVA 10 - AD reset password

    Posted Wed February 24, 2021 11:48 AM
    Hello,
    we are working with Security Verify Access firmware Version 10.0.1.0.
    We are trying to use an infomap to perform the reset password on AD, but AD isn't the ISAM primary registry server.
    So we use a server connection to search the user, but when we use:
    var result =ulh.getUserByNativeId(user[i]);
    where user[i] is the result of search method, we have an exception on the management domain:
    I getUserByNativeId com.tivoli.pd.rgy.exception.DomainNotFoundRgyException: HPDAA0266E The Security Verify Access domain Default does not exist.
    at com.tivoli.pd.rgy.ldap.LdapRgyDomainMgr.getDomainInfo(LdapRgyDomainMgr.java:191)
    at com.tivoli.pd.rgy.ldap.LdapRgyUserMgr.getUser(LdapRgyUserMgr.java:380)
    at com.tivoli.pd.rgy.ldap.LdapRgyUserMgr.getUser(LdapRgyUserMgr.java:350)
    at com.tivoli.pd.rgy.ldap.LdapRgyUserMgr.getNativeUser(LdapRgyUserMgr.java:857)
    at com.tivoli.pd.rgy.ldap.LdapRgyRegistry.getNativeUser(LdapRgyRegistry.java:526)
    at com.ibm.security.access.user.UserLookupHelper.getUserByNativeId(UserLookupHelper.java:489)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:508)
    at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
    at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225)
    at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
    at org.mozilla.javascript.gen.Collect_PWD_AD_36._c_script_0(Collect_PWD_AD:118)
    at org.mozilla.javascript.gen.Collect_PWD_AD_36.call(Collect_PWD_AD)
    at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:405)
    at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3508)
    at org.mozilla.javascript.gen.Collect_PWD_AD_36.call(Collect_PWD_AD)
    at org.mozilla.javascript.gen.Collect_PWD_AD_36.exec(Collect_PWD_AD)
    at com.ibm.security.access.javascript.JSCode.execute(JSCode.java:123)
    at com.tivoli.am.fim.authsvc.action.authenticator.infomap.InfoMapAuthenticator$3.execute(InfoMapAuthenticator.java:201)
    at com.tivoli.am.fim.authsvc.action.authenticator.infomap.InfoMapAuthenticator$3.execute(InfoMapAuthenticator.java:139)
    at com.tivoli.am.fim.authsvc.automaton.state.RouterState.execute(RouterState.java:54)
    at com.tivoli.am.fim.authsvc.automaton.state.RouterState.execute(RouterState.java:46)
    at com.tivoli.am.fim.authsvc.automaton.state.ContainerState.execute(ContainerState.java:144)
    at com.tivoli.am.fim.authsvc.automaton.state.ContainerState.execute(ContainerState.java:99)
    at com.tivoli.am.fim.authsvc.action.authenticator.infomap.InfoMapAuthenticator.execute(InfoMapAuthenticator.java:421)
    at com.tivoli.am.fim.authsvc.automaton.state.AuthenticatorState.execute(AuthenticatorState.java:87)
    at com.tivoli.am.fim.authsvc.automaton.state.AuthenticatorState.execute(AuthenticatorState.java:59)
    at com.tivoli.am.fim.authsvc.automaton.state.ContainerState.execute(ContainerState.java:144)
    at com.tivoli.am.fim.authsvc.automaton.state.ContainerState.execute(ContainerState.java:99)
    at com.tivoli.am.fim.authsvc.automaton.state.ContainerState.execute(ContainerState.java:144)
    at com.tivoli.am.fim.authsvc.automaton.state.ContainerState.execute(ContainerState.java:99)
    at com.tivoli.am.fim.authsvc.automaton.state.ContainerState.execute(ContainerState.java:144)
    at com.tivoli.am.fim.authsvc.automaton.state.ContainerState.execute(ContainerState.java:99)
    at com.tivoli.am.fim.authsvc.protocol.delegate.AuthSvcDelegate$1.doProcessState(AuthSvcDelegate.java:456)
    at com.tivoli.am.fim.authsvc.protocol.delegate.AuthSvcDelegate$1.doPrepareState(AuthSvcDelegate.java:414)
    at com.tivoli.am.fim.authsvc.protocol.delegate.AuthSvcDelegate$1.execute(AuthSvcDelegate.java:161)
    at com.tivoli.am.fim.authsvc.protocol.delegate.AuthSvcDelegate$1.execute(AuthSvcDelegate.java:105)
    at com.tivoli.am.fim.authsvc.automaton.state.InteractorState.execute(InteractorState.java:57)
    at com.tivoli.am.fim.authsvc.automaton.state.InteractorState.execute(InteractorState.java:49)
    at com.tivoli.am.fim.authsvc.automaton.state.ContainerState.execute(ContainerState.java:144)
    at com.tivoli.am.fim.authsvc.automaton.state.ContainerState.execute(ContainerState.java:99)
    at com.tivoli.am.fim.authsvc.protocol.delegate.AuthSvcDelegate.processRequest(AuthSvcDelegate.java:652)
    at com.tivoli.am.fim.fedmgr2.proper.FederationManager.doInitialRequestOnDelegate(FederationManager.java:476)
    at com.tivoli.am.fim.fedmgr2.proper.FederationManager.finishProcessingWithDelegateId(FederationManager.java:311)
    at com.tivoli.am.fim.fedmgr2.proper.FederationManager.processRequest(FederationManager.java:164)
    at com.tivoli.am.fim.fedmgr2.servlet.SSOPSServletBase.doRequest(SSOPSServletBase.java:129)
    at com.tivoli.am.fim.fedmgr2.servlet.SPSCommandDispatcher.invoke(SPSCommandDispatcher.java:437)
    at com.tivoli.am.fim.war.runtime.liberty.LibertyRuntimeServlet.doPost(LibertyRuntimeServlet.java:92)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:706)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:791)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:729)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:426)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:182)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:78)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:1001)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1139)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1010)
    at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:75)
    at com.ibm.ws.webcontainer40.servlet.CacheServletWrapper40.handleRequest(CacheServletWrapper40.java:83)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:938)
    at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.run(DynamicVirtualHost.java:279)
    at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink$TaskWrapper.run(HttpDispatcherLink.java:1134)
    at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.wrapHandlerAndExecute(HttpDispatcherLink.java:415)
    at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.ready(HttpDispatcherLink.java:374)
    at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:546)
    at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleNewRequest(HttpInboundLink.java:480)
    at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.processRequest(HttpInboundLink.java:345)
    at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.ready(HttpInboundLink.java:316)
    at com.ibm.ws.channel.ssl.internal.SSLConnectionLink.determineNextChannel(SSLConnectionLink.java:1100)
    at com.ibm.ws.channel.ssl.internal.SSLConnectionLink$MyReadCompletedCallback.complete(SSLConnectionLink.java:675)
    at com.ibm.ws.channel.ssl.internal.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1824)
    at com.ibm.ws.tcpchannel.internal.WorkQueueManager.requestComplete(WorkQueueManager.java:504)
    at com.ibm.ws.tcpchannel.internal.WorkQueueManager.attemptIO(WorkQueueManager.java:574)
    at com.ibm.ws.tcpchannel.internal.WorkQueueManager.workerRun(WorkQueueManager.java:958)
    at com.ibm.ws.tcpchannel.internal.WorkQueueManager$Worker.run(WorkQueueManager.java:1047)
    at com.ibm.ws.threading.internal.ExecutorServiceImpl$RunnableWrapper.run(ExecutorServiceImpl.java:239)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.lang.Thread.run(Thread.java:820)
    end the object "result" is null.

    ther's a way to use "setPassword(java.lang.String newPassword)" with a server connection?

    thank you


    ------------------------------
    Ivana Campolongo - Natascia Roia
    ------------------------------