viewGenericLoginSuccess transition. As far as I can see, I can only add new transtions and modifying an existing one is not possible. Is there any solution ?2016-12-22 09:36:03,065 DEBUG [DecisionState] - <Entering state 'serviceCheck' of flow 'login'>
2016-12-22 09:36:03,065 DEBUG [Transition] - <Executing [Transition@a6925f on = *, to = viewGenericLoginSuccess]>
2016-12-22 09:36:03,065 DEBUG [Transition] - <Exiting state 'serviceCheck'>
2016-12-22 09:36:03,065 DEBUG [EndState] - <Entering state 'viewGenericLoginSuccess' of flow 'login'>
--
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
---
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+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/a2f15f9c-3ebe-492d-987e-c9f903ba6103%40apereo.org.
-- Ray Bon Programmer Analyst Development Services, University Systems 2507218831 | CLE C023 | rb...@uvic.ca
private void modifyTransitionDefinition(Flow flow, String stateId, String eventId, String targetStateId) {
TransitionableState state = (TransitionableState) flow.getState(stateId);
if (state != null) ((Transition) state.getTransition(eventId)).setTargetStateResolver(new DefaultTargetStateResolver(targetStateId));
}
As far as I can see, I can only add new transtions and modifying an existing one is not possible.
final Flow flow = super.getLoginFlow();
final TransitionSet ts = flow.getTransitionableState("handleAuthenticationFailure").getTransitionSet();
final Iterator<Transition> it = ts.iterator();
while (it.hasNext()) {
if ("AccountLockedException".equals(it.next().getMatchingCriteria().toString())) {
it.remove();
}
}
final Transition t = createTransition("AccountLockedException", "initializeLoginForm");
ts.add(t);
SomethingConfiguration class with @Configuration annotation please note that your class should be in package org.apereo.cas or its subpackages (according to this: https://groups.google.com/a/apereo.org/forum/#!topic/cas-user/WKzqlZrmvS8 )
Regards,
Yauheni To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/8677308d-bd64-4868-8dcb-cb5b8dd52625%40apereo.org.