yarra srinivas
unread,Sep 30, 2020, 7:52:02 AM9/30/20Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CAS Developer, yarra srinivas, leleuj, CAS Developer
Hi @leleuj,
Kindly guide to parse or cas understand response from keycloak; It will be great help me to proceed further. As you said previous; it might require some customisation; Could you please guide me if possible: am I doing something wrong in oidcClient configuration: @applicationContext.xml file.
<bean id="keyCloakOpenid" class="org.pac4j.oidc.client.OidcClient">
<property name="name" value="openid" />
<property name="clientID" value="yarra-client" />
<property name="secret" value="e374ff0-f724-411d-b6474-46aea4b62a6f" />
</bean>
<bean id="clients" class="org.pac4j.core.client.Clients">
<property name="clientNameParameter" value="KeycloakOIDC" />
<property name="clients">
<list>
<ref bean="keyCloakOpenid" />
</list>
</property>
</bean>
login-webflow.xml:
<action-state id="clientAction">
<evaluate expression="clientAction" />
<transition on="success" to="sendTicketGrantingTicket" />
<transition on="error" to="ticketGrantingTicketCheck" />
<transition on="stop" to="stopWebflow" />
</action-state>
<view-state id="stopWebflow" />
<action-state id="ticketGrantingTicketCheck">
<evaluate expression="ticketGrantingTicketCheckAction"/>
<transition on="notExists" to="gatewayRequestCheck"/>
<transition on="invalid" to="terminateSession"/>
<transition on="valid" to="hasServiceCheck"/>
</action-state>
org.springframework.webflow.engine.NoMatchingTransitionException: No transition was matched on the event(s) signaled by the [1] action(s) that executed in this action state 'ticketGrantingTicketCheck' of flow 'login'; transitions must be defined to handle action result outcomes -- possible flow configuration error? Note: the eventIds signaled were: 'array<String>['success']', while the supported set of transitional criteria for this action state is 'array<TransitionCriteria>[notExists, invalid, valid]'