protected BrowserStorage.BrowserStorageTypes determineStorageType(final RequestContext requestContext) {
        val requestScope = requestContext.getRequestScope();
        if (requestScope.contains(BrowserStorage.BrowserStorageTypes.class.getSimpleName())) {
            val requiredType = requestScope.getRequiredString(BrowserStorage.BrowserStorageTypes.class.getSimpleName());
            return BrowserStorage.BrowserStorageTypes.valueOf(requiredType.toUpperCase(Locale.ENGLISH));
        }
        return BrowserStorage.BrowserStorageTypes.LOCAL;
    }
This is {@link BaseBrowserStorageAction}.

@author Misagh Moayyed
@since 7.0.0
core/cas-server-core-webflow-api/src/main/java/org/apereo/cas/web/flow/actions/storage/BaseBrowserStorageAction.java