|
This post has NOT been accepted by the mailing list yet.
Hi, all
I'm using this cas plugin(http://markmail.org/message/mzqrauueqd6bsxwc), but I'm trapped, and my configurations and the system logs are as follows: ---------------------------configurations start-------------------------------- # This property must be set to true sonar.authenticator.createUsers=true # Enable CAS plugin sonar.security.realm=cas # Protocol is cas2 or saml11 sonar.cas.protocol=cas2 # Location of the CAS server login form sonar.cas.casServerLoginUrl=http://ch-sso:8080/sso/login # CAS server root URL sonar.cas.casServerUrlPrefix=http://ch-sso:8080/sso # Sonar server root URL, without ending slash sonar.cas.sonarServerUrl=http://192.168.12.194 # Specifies whether gateway=true should be sent to the CAS server. Default is false. #sonar.cas.sendGateway=false # The tolerance in milliseconds for drifting clocks when validating SAML 1.1 tickets. # Note that 10 seconds should be more than enough for most environments that have NTP time synchronization. # Default is 1000 milliseconds. #sonar.cas.saml11.toleranceMilliseconds=1000 ---------------------------configurations end-------------------------------- I've tried https urls, and it seemes to have the same result. ---------------------------logs start--------------------------------------------- 2012.06.29 15:37:27 INFO o.s.s.p.ServletFilters Initializing servlet filter org.sonar.plugins.cas.cas2.CasAuthenticationFilter@11f1d97 [pattern=/sessions/new/*] 2012.06.29 15:37:27 INFO o.j.c.c.a.AuthenticationFilter Property [serverName] not found. Using default value [null] 2012.06.29 15:37:27 INFO o.j.c.c.a.AuthenticationFilter Property [service] loaded from FilterConfig.getInitParameter with value [http://192.168.12.194/cas/validate] 2012.06.29 15:37:27 INFO o.j.c.c.a.AuthenticationFilter Property [artifactParameterName] not found. Using default value [ticket] 2012.06.29 15:37:27 INFO o.j.c.c.a.AuthenticationFilter Property [serviceParameterName] not found. Using default value [service] 2012.06.29 15:37:27 INFO o.j.c.c.a.AuthenticationFilter Property [encodeServiceUrl] not found. Using default value [true] 2012.06.29 15:37:27 INFO o.j.c.c.a.AuthenticationFilter Property [casServerLoginUrl] loaded from FilterConfig.getInitParameter with value [http://ch-sso:8080/sso/login] 2012.06.29 15:37:27 INFO o.j.c.c.a.AuthenticationFilter Property [renew] not found. Using default value [false] 2012.06.29 15:37:27 INFO o.j.c.c.a.AuthenticationFilter Property [gateway] loaded from FilterConfig.getInitParameter with value [false] 2012.06.29 15:37:27 INFO o.j.c.c.a.AuthenticationFilter Property [gatewayStorageClass] not found. Using default value [null] 2012.06.29 15:37:27 INFO o.s.s.p.ServletFilters Initializing servlet filter org.sonar.plugins.cas.cas2.CasValidationFilter@1f3d6cd [pattern=/cas/validate] 2012.06.29 15:37:27 INFO o.j.c.c.v.Cas20ProxyReceivingTicketValidationFilter Property [serverName] not found. Using default value [null] 2012.06.29 15:37:27 INFO o.j.c.c.v.Cas20ProxyReceivingTicketValidationFilter Property [service] loaded from FilterConfig.getInitParameter with value [http://192.168.12.194/cas/validate] 2012.06.29 15:37:27 INFO o.j.c.c.v.Cas20ProxyReceivingTicketValidationFilter Property [artifactParameterName] not found. Using default value [ticket] 2012.06.29 15:37:27 INFO o.j.c.c.v.Cas20ProxyReceivingTicketValidationFilter Property [serviceParameterName] not found. Using default value [service] 2012.06.29 15:37:27 INFO o.j.c.c.v.Cas20ProxyReceivingTicketValidationFilter Property [encodeServiceUrl] not found. Using default value [true] 2012.06.29 15:37:27 INFO o.j.c.c.v.Cas20ProxyReceivingTicketValidationFilter Property [proxyReceptorUrl] not found. Using default value [null] 2012.06.29 15:37:27 INFO o.j.c.c.v.Cas20ProxyReceivingTicketValidationFilter Property [proxyGrantingTicketStorageClass] not found. Using default value [null] 2012.06.29 15:37:27 INFO o.j.c.c.v.Cas20ProxyReceivingTicketValidationFilter Property [millisBetweenCleanUps] not found. Using default value [60000] 2012.06.29 15:37:27 INFO o.j.c.c.v.Cas20ProxyReceivingTicketValidationFilter Property [exceptionOnValidationFailure] loaded from FilterConfig.getInitParameter with value [true] 2012.06.29 15:37:27 INFO o.j.c.c.v.Cas20ProxyReceivingTicketValidationFilter Property [redirectAfterValidation] loaded from FilterConfig.getInitParameter with value [false] 2012.06.29 15:37:27 INFO o.j.c.c.v.Cas20ProxyReceivingTicketValidationFilter Property [useSession] loaded from FilterConfig.getInitParameter with value [true] 2012.06.29 15:37:27 INFO o.j.c.c.v.Cas20ProxyReceivingTicketValidationFilter Property [acceptAnyProxy] not found. Using default value [null] 2012.06.29 15:37:27 INFO o.j.c.c.v.Cas20ProxyReceivingTicketValidationFilter Property [allowedProxyChains] not found. Using default value [null] 2012.06.29 15:37:27 INFO o.j.c.c.v.Cas20ProxyReceivingTicketValidationFilter Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [http://ch-sso:8080/sso] 2012.06.29 15:37:27 INFO o.j.c.c.v.Cas20ProxyReceivingTicketValidationFilter Property [proxyCallbackUrl] not found. Using default value [null] 2012.06.29 15:37:27 INFO o.j.c.c.v.Cas20ProxyReceivingTicketValidationFilter Property [encoding] not found. Using default value [null] 2012.06.29 15:37:27 INFO o.j.c.c.v.Cas20ProxyReceivingTicketValidationFilter Property [renew] not found. Using default value [false] 2012.06.29 15:37:27 INFO o.j.c.c.v.Cas20ProxyReceivingTicketValidationFilter Property [encoding] not found. Using default value [null] 2012.06.29 15:37:27 INFO o.j.c.c.v.Cas20ProxyReceivingTicketValidationFilter Property [hostnameVerifier] not found. Using default value [null] 2012.06.29 15:37:27 INFO o.j.c.c.v.Cas20ProxyReceivingTicketValidationFilter Property [hostnameVerifierConfig] not found. Using default value [null] INFO | jvm 1 | 2012/06/29 15:37:27 | 2012-06-29 15:37:27.669:INFO::Started SelectChannelConnector@0.0.0.0:9000 ---------------------------logs end--------------------------------------------- Any of your reply will be highly appreciated! Tyler Liu |
| Powered by Nabble | Edit this page |
