Search in sources :

Example 1 with SessionIdState

use of org.xdi.oxauth.model.common.SessionIdState in project oxAuth by GluuFederation.

the class SessionStateService method isSessionStateAuthenticated.

public boolean isSessionStateAuthenticated() {
    SessionState sessionState = getSessionState();
    if (sessionState == null) {
        return false;
    }
    SessionIdState sessionIdState = sessionState.getState();
    if (SessionIdState.AUTHENTICATED.equals(sessionIdState)) {
        return true;
    }
    return false;
}
Also used : SessionState(org.xdi.oxauth.model.common.SessionState) SessionIdState(org.xdi.oxauth.model.common.SessionIdState)

Aggregations

SessionIdState (org.xdi.oxauth.model.common.SessionIdState)1 SessionState (org.xdi.oxauth.model.common.SessionState)1