0

成功构建 Incode 平台后,我无法使用 sven/pass 或任何我能想到的密码组合登录。记录以下错误

22:31:49,645  [ShiroAuthenticatorOrAuthorizor qtp1315447704-15 ERROR]  Unable to authenticate

org.apache.shiro.authc.DisabledAccountException 在 org.isisaddons.module.security.shiro.IsisModuleSecurityRealm.doGetAuthenticationInfo(IsisModuleSecurityRealm.java:78) 在 org.apache.shiro.realm.AuthenticatingRealm.getAuthenticationInfo(AuthenticatingRealm.java:568) 在org.apache.shiro.authc.pam.ModularRealmAuthenticator.doSingleRealmAuthentication(ModularRealmAuthenticator.java:180) 在 org.apache.shiro.authc.pam.ModularRealmAuthenticator.doAuthenticate(ModularRealmAuthenticator.java:267) 在 org.apache.shiro.authc。 AbstractAuthenticator.authenticate(AbstractAuthenticator.java:198) at org.apache.shiro.mgt.AuthenticatingSecurityManager.authenticate(AuthenticatingSecurityManager.java:106) at org.apache.shiro.mgt.DefaultSecurityManager.login(DefaultSecurityManager.java:270) at org .apache。org.apache.isis.security.shiro.ShiroAuthenticatorOrAuthorizo​​r.authenticate(ShiroAuthenticatorOrAuthorizo​​r.java:151) 上的 shiro.subject.support.DelegatingSubject.login(DelegatingSubject.java:256)。 org.apache.isis.viewer.wicket.viewer.integration.wicket.AuthenticatedWebSessionForIsis.authenticate(AuthenticatedWebSessionForIsis.java:73) 上的 standard.AuthenticationManagerStandard.authenticate(AuthenticationManagerStandard.java:111)。 AuthenticatedWebSession.signIn(AuthenticatedWebSession.java:66) 在 org.apache.wicket.authroles.authentication.panel.SignInPanel.signIn(SignInPanel.java:210) 在 org.apache.wicket.authroles.authentication.panel.SignInPanel.access$100 (SignInPanel.java:46) 在 org.apache.wicket。authroles.authentication.panel.SignInPanel$SignInForm.onSubmit(SignInPanel.java:305) 在 org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1313) 在 org.apache.wicket.markup。 org.apache.wicket.markup.html.form.StatelessForm.process(StatelessForm.java:100) 中的 org.apache.wicket.markup.html.form 中的 html.form.Form.process(Form.java:976)。 org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:708) 的 Form.onFormSubmitted(Form.java:797) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 的 sun.reflect。 NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 在 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 在 java.lang.reflect.Method.invoke(Method.java:498) 在 org.apache.wicket。RequestListenerInterface.internalInvoke(RequestListenerInterface.java:258) at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:216) at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:241)在 org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:234) 在 org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:895) 在 org.apache .wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64) 在 org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265) 在 org.apache.wicket.request.cycle.RequestCycle.processRequest (RequestCycle.java:222) 在 org.apache.wicket.request。cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293)

不知道问题是什么以及我能做些什么来解决它。

4

2 回答 2

0

没问题。我使用了错误的 AppManifest。正确的一个是 mvn -pl webapp jetty:run \ -Disis.appManifest=domainapp.appdefn.DomainAppAppManifestWithFixtures

于 2017-09-27T21:29:30.547 回答
0

是的。默认的 appmanifest 仅设置安全模块,因此您可以使用 isis-module-security-admin/pass 登录,仅此而已。使用安全管理员,您当然可以设置另一个用户......但这就是另一个带有其固定装置的清单所做的事情。

于 2017-09-27T22:10:21.040 回答