cas를 사용하는 Zeppelin에서 shiro.ini를 가져 오는 데 실패했습니다. 나는이 지침 http://shiro.apache.org/cas.htmlShiro with Zeppelin
casFilter = org.apache.shiro.cas.CasFilter
casFilter.failureUrl = /error.html
casRealm = org.apache.shiro.cas.CasRealm
casRealm.defaultRoles = USER
casRealm.casServerUrlPrefix = https://ticketserver.com
casRealm.casService = https://tickettranslater.com/j_spring_cas_security_check
casSubjectFactory = org.apache.shiro.cas.CasSubjectFactory
sessionManager = org.apache.shiro.web.session.mgt.DefaultWebSessionManager
securityManager.subjectFactory = $casSubjectFactory
securityManager.realms = $casRealm
### If caching of user is required then uncomment below lines
#cacheManager = org.apache.shiro.cache.MemoryConstrainedCacheManager
#securityManager.cacheManager = $cacheManager
securityManager.sessionManager = $sessionManager
# 86,400,000 milliseconds = 24 hour
#securityManager.sessionManager.globalSessionTimeout = 86400000
shiro.loginUrl = /api/login
[urls]
# anon means the access is anonymous.
# authcBasic means Basic Auth Security
# authc means Form based Auth Security
# To enfore security, comment the line below and uncomment the next one
/api/interpreter/** = authc, roles[USER]
/api/configurations/** = authc, roles[USER]
/api/credential/** = authc, roles[SOMEOTHER]
/api/login = casFilter
/** = authc
#/** = anon
#/** = authc
casService는 사용자에게 티켓을 번역해야 무엇을 따랐다. casServerUrlPrefix는 한 번 진드기를 얻습니다. shiro.loginUrl = https://ticketserver.com?service=https://tickettranslater.com/j_spring_cas_security_check 경우에 따라 Origin 헤더가 길을 잃고 로그인에 실패하는 경우를 제외하고는 작동합니다.
tickeserver.com과 tickertranslater는 네트워크에 있으며 다른 많은 응용 프로그램에서 작동합니다.
cas 로그인 체인이 올바르게 처리되도록 shiro.ini를 어떻게 설정합니까?