public static void putCredentialIntoScope(final MutableAttributeMap<Object> scope, final Credential credential) {
        scope.put(PARAMETER_CREDENTIAL, credential);
    }
Put credential into scope.

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