无法登录Incode Platform

时间:2017-09-27 20:54:23

标签: isis

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

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

org.apache.shiro.authc.DisabledAccountException         at 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)         在org.apache.shiro.mgt.DefaultSecurityManager.login(DefaultSecurityManager.java:270)         在org.apache.shiro.subject.support.DelegatingSubject.login(DelegatingSubject.java:256)         在org.apache.isis.security.shiro.ShiroAuthenticatorOrAuthorizo​​r.authenticate(ShiroAuthenticatorOrAuthorizo​​r.java:151)         at org.apache.isis.core.runtime.authentication.standard.AuthenticationManagerStandard.authenticate(AuthenticationManagerStandard.java:111)         at org.apache.isis.viewer.wicket.viewer.integration.wicket.AuthenticatedWebSessionForIsis.authenticate(AuthenticatedWebSessionForIsis.java:73)         在org.apache.wicket.authroles.authentication.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.html.form.Form.process(Form.java:976)         在org.apache.wicket.markup.html.form.StatelessForm.process(StatelessForm.java:100)         在org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:797)         在org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:708)         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)         at java.lang.reflect.Method.invoke(Method.java:498)         at org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:258)         at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:216)         在org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:241)         at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:234)         at 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)

不确定问题是什么以及我可以采取哪些措施来解决问题。

2 个答案:

答案 0 :(得分:0)

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

答案 1 :(得分:0)

是的。默认appmanifest只设置安全模块,因此您可以使用isis-module-security-admin / pass登录,但这就是全部。使用安全管理员,您当然可以设置另一个用户......但这就是另一个用它的夹具做的事情。