public static void putAuthentication(final Authentication authentication, final MutableAttributeMap scope) {
        scope.put(CasWebflowConstants.ATTRIBUTE_AUTHENTICATION, authentication);
    }
Put authentication.

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