我尝试配置Apereo 5.0.6 REST,并且我已经配置了,当我发送一个POST请求以获得一个TGT时,我得到了以下错误:
WARN [org.apereo.cas.authentication.PolicyBasedAuthenticationManager] -
<Authentication has failed. Credentials may be incorrect or CAS cannot find authentication
handler that supports [username] of type [UsernamePasswordCredential], which suggests a configuration problem.>我在Firefox上尝试过这样的方法:
我也有401美元。
我使用Docker映像apereo/ca:v5.0.6。
我的pom.xml:
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-webapp</artifactId>
<version>${cas.version}</version>
<type>war</type>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-spnego-webflow</artifactId>
<version>${cas.version}</version>
</dependency>
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-rest</artifactId>
<version>${cas.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.samba.jcifs</groupId>
<artifactId>jcifs-ext</artifactId>
<version>0.9.4</version>
<scope>runtime</scope>
</dependency>当我使用火狐访问https://cas.services/cas/时,身份验证工作。
发布于 2018-03-07 10:04:05
它缺少了cas.authn.ldap配置在cas.propeties中..。
https://stackoverflow.com/questions/48559597
复制相似问题