public static Authentication getAuthentication(final MutableAttributeMap<Object> ctx) {
        return ctx.get(CasWebflowConstants.ATTRIBUTE_AUTHENTICATION, Authentication.class);
    }
Gets authentication.

@param ctx the ctx
@return the authentication
core/cas-server-core-web-api/src/main/java/org/apereo/cas/web/support/WebUtils.java