I have been struggling to get access to development CAS v5.2.4 status
endpoints. I was unable to get them unsecured and went on to add Spring
Security with master user, who it is correctly validating, but somehow my
IP is still not authorized. Following are relevant properties and logs. I'm
confused by the fact that it should be matching any IP with .+ yet it still
says Unauthorized IP address. Any help would be much appreciated.


endpoints.status.enabled=true
endpoints.status.sensitive=false
endpoints.dashboard.enabled=true
endpoints.dashboard.sensitive=false
cas.adminPagesSecurity.ip=.+
security.user.name=admin
security.user.password=admin

2019-10-23 21:58:11,093 DEBUG
[org.pac4j.core.engine.DefaultSecurityLogic] - <===
SECURITY ===>
2019-10-23 21:58:11,093 DEBUG
[org.pac4j.core.engine.DefaultSecurityLogic] - <url:
https://sanitized/cas/status>
2019-10-23 21:58:11,093 DEBUG
[org.pac4j.core.engine.DefaultSecurityLogic] - <matchers: null>
2019-10-23 21:58:11,093 DEBUG
[org.pac4j.core.engine.DefaultSecurityLogic] - <clients: IpClient>
2019-10-23 21:58:11,094 DEBUG [org.pac4j.core.engine.DefaultSecurityLogic]
 - <currentClients: [
#IpClient# | name: IpClient | credentialsExtractor: null |
authenticator: IpRegexpAuthenticator[.+ ]
 | profileCreator:
org.pac4j.core.profile.creator.AuthenticatorProfileCreator@290e9599
 | authorizationGenerators: [] |]>
2019-10-23 21:58:11,095 DEBUG
[org.pac4j.core.engine.DefaultSecurityLogic] -
<loadProfilesFromSession: false>
2019-10-23 21:58:11,110 DEBUG
[org.pac4j.core.engine.DefaultSecurityLogic] - <profiles: []>
2019-10-23 21:58:11,110 DEBUG [org.pac4j.core.engine.DefaultSecurityLogic]
 - <Performing authentication for direct client:
#IpClient# | name: IpClient | credentialsExtractor: null |
authenticator: IpRegexpAuthenticator[.+ ]
 | profileCreator:
org.pac4j.core.profile.creator.AuthenticatorProfileCreator@290e9599
 | authorizationGenerators: [] |>
2019-10-23 21:58:11,126 DEBUG [org.pac4j.http.client.direct.IpClient]
- <Credentials validation took: 14 ms>
2019-10-23 21:58:11,126 INFO [org.pac4j.http.client.direct.IpClient] -
<Failed to retrieve or validate credentials: Unauthorized IP address:
172.21.96.74>
2019-10-23 21:58:11,126 DEBUG [org.pac4j.http.client.direct.IpClient]
- <Failed to retrieve or validate credentials>
org.pac4j.core.exception.CredentialsException: Unauthorized IP
address: 172.21.96.74

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAMM6z%2BLYuO2dihVM96XAKC-EXEJBjMqyYhqau1jHMBwHJ9Bncw%40mail.gmail.com.

Reply via email to