INNER CODE UNIT · Java

getNativeSession

pac4j/play-pac4j · shared/src/main/java/org/pac4j/play/PlayWebContext.java:253

    public Http.Session getNativeSession() {
        return session;
    }

    public void setNativeSession(final Http.Session session) {
        this.session = session;
    }

    public boolean hasResponseModifications() {
        return !responseCookies.isEmpty() || !responseHeaders.isEmpty() || responseContentType != null || hasSessionChanged();
    }

    protected boolean hasSessionChanged() {
        if (session == null && initialSession == null) {
            return false;
        }
        if (session == null || initialSession == null) {
            return true;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…