Vikash,

Is your property Cas.authn.oidc.core.issuer, or is the 'C' a typo?
It should be cas.authn.oidc.core.issuer.

If the property key is correct, it may be that cas is testing the issuer url 
and failing because of the self signed certificate on localhost.
Have you added the certificate to the jvm?

Ray

On Wed, 2023-01-18 at 13:53 +0530, Vikash Chandra Ansh wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Hi All,.

I am enabling OIDC in cas 6.6.2 and getting below error


at org.springframework.boot.web.servlet.support. 
SpringBootServletInitializer.run(SpringBootServletInitializer.java:175) at 
org.springframework.boot.web.servlet.support. 
SpringlootServletInitializer.createRootApplicationContext 
(SpringflootServletInitializer.java:155) at 
org.springframework.boot.web.servlet.support.SpringBootServletInitializer.onStartup
 (SpringBootServletInitializer.java:97)


at 
org.apereo.cas.util.spring.boot.AbstractCasSpringBootServletInitializer.onStartup
 (AbstractCasSpringBootServletInitializer.java:33).



at org.springframework.web. SpringServletContainerInitializer.onStartup 
(SpringServletContainerInitializer.java:174

at org.apache.catalina.core.StandardContext.startInternal 
(StandardContext.java:5220)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)

38 more

Caused by: java.lang.IllegalStateException: Invalid mapping on handler class

[org.apereo.can.oidc.web.controllers.discovery.OidcWellknownEndpointController]:
 public org.springframework.http.ResponseEntity 
org.apereo.cas.oidc.web.controllers.discovery.OidcWell 
KnownEndpointController.getWellknownOpenIdDiscoveryConfiguration 
(javax.servlet.http.HttpServletReq

uest, javax.servlet.http.HttpServletResponse),

at 
org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.lambda@detectHandlerMethods$1
 (AbstractHandlerMethodMapping.java:265)

at org.springframework.core.MethodIntrospector.lambda$selectMethods50 
(MethodIntrospector.java:74)



at org.springframework.util.ReflectionUtils.doWithMethods 
(ReflectionUtils.java:367) at 
org.springframework.core.MethodIntrospector.selectMethods 
(MethodIntrospector.java:72)

at 
org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.detectHandlerMethods
 (AbstractHandlerMethodMapping.java:281) at 
org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.processCandidateBean(AbstractHandlerMethodMapping.java:266)


at 
org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.in<http://org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.in>
 com.Imax.disruptor.BatchEventProcessor.processEvents 
(BatchEventProcessor.java:168) at 
com.imax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:125) at


297 itHandlerMethods (AbstractHandlerMethodMapping.java:225)


at 
org.springframework.web.servlet.handler.AbstractHandlerMethodMapping-afterPropertiesSet
 (AbstractHandlerMethodMapping.java:213) at 
org.springframework.web.servlet.mvc.method.annotation.RequestHappingHandlerMapping.afterPropertiesSet
 (RequestMappingHandlerMapping.java:205) at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInit.Methods
 (AbstractAutowireCapableBeanFactory.java:1863) at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializebean
 (AbstractAutowireCapableBeanFactory.java:1800)

58 more Caused by: org.springframework.web.util.pattern. PatternParseException: 
No more pattern data allowed after  (*...) or ** pattern element


at 
org.springframework.web.util.pattern.InternalPathPatternParser.peekDoubleWildcard
 (InternalPathPatternParser.java:250)

at org.springframework.web.util.pattern.InternalPathPatternParser.parse 
(InternalPathPatternParser.java:113) at 
org.springframework.web.util.pattern.PathPatternParser.parse 
(PathPatternParser.java:110)

at 
org.springframework.web.servlet.mvc.condition.PathPatternsRequestCondition.parse(PathPatternaRequest
 Condition.java:82) at 
org.springframework.web.servlet.mvc.condition.PathPatternsRequestCondition.<init>(PathPatternsRequestCondition.java:70)
 at org.springframework.web.servlet.mvc.method.RequestMappingInfo 
DefaultBuilder.build(RequestHappingInfo.java:712)

at 
org.springframework.web.servlet.mvc.method.annotation.RequestHappingHandlerMapping.createRequestMappingInfo
 (RequestHappingHandlerMapping.java:37

I have added a property as

Cas.authn.oidc.core.issuer=https://localhost:6443/cas/oidc

I am making cas as OIDC server

Thanks and regards









-- 
- 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/4804b6bbc42585506917886955a965d9e69055d1.camel%40uvic.ca.

Reply via email to