Authorization over MsSQL database

46 views
Skip to first unread message

Marcin

unread,
Nov 14, 2016, 12:10:42 PM11/14/16
to CAS Community
Hello, i need help with authentication from MsSQL database and next from AD. This is my configuration and debug log: https://gist.github.com/MarcinJanowski/71cfbbac448c0e8419582b6b691fe73c . Please tell me, what i doing wrong? On tcpdump i dont seen any package to 1443 port. And i dont know which class i should set to debug to show dbeug logs from sql. 

Marcin

unread,
Nov 17, 2016, 7:11:48 AM11/17/16
to CAS Community
This is lines from my log with " ERROR " string:
2016-11-10 16:00:34,461 WARN [org.springframework.web.context.support.XmlWebApplicationContext] - <Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'samlServletContextListener': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.jasig.cas.support.saml.web.SamlValidateController org.jasig.cas.support.saml.SamlServletContextListener.samlValidateController; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'samlValidateController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.jasig.cas.authentication.AuthenticationSystemSupport org.jasig.cas.web.AbstractServiceValidateController.authenticationSystemSupport; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultAuthenticationSystemSupport': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.jasig.cas.authentication.AuthenticationTransactionManager org.jasig.cas.authentication.DefaultAuthenticationSystemSupport.authenticationTransactionManager; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultAuthenticationTransactionManager': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.jasig.cas.authentication.AuthenticationManager org.jasig.cas.authentication.DefaultAuthenticationTransactionManager.authenticationManager; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationManager': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationHandlersResolvers': Cannot resolve reference to bean 'primaryPrincipalResolver' while setting bean property 'sourceMap' with key [<primaryAuthenticationHandler>]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'primaryPrincipalResolver' is defined>



And second error, it is huge so i paste it on gist: https://gist.github.com/MarcinJanowski/f2768c77d5f02feaedf33abe272c9b53
Reply all
Reply to author
Forward
0 new messages