mirror of
https://github.com/keycloak/keycloak.git
synced 2026-05-04 22:21:01 -05:00
saml redirect logout 1st step
This commit is contained in:
@@ -69,6 +69,9 @@ public interface ClientModel {
|
||||
String getAttribute(String name);
|
||||
Map<String, String> getAttributes();
|
||||
|
||||
boolean isFrontchannelLogout();
|
||||
void setFrontchannelLogout(boolean flag);
|
||||
|
||||
|
||||
boolean isPublicClient();
|
||||
void setPublicClient(boolean flag);
|
||||
|
||||
@@ -49,7 +49,8 @@ public interface ClientSessionModel {
|
||||
UPDATE_PASSWORD,
|
||||
RECOVER_PASSWORD,
|
||||
AUTHENTICATE,
|
||||
SOCIAL_CALLBACK
|
||||
SOCIAL_CALLBACK,
|
||||
LOGGED_OUT
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -27,4 +27,18 @@ public interface UserSessionModel {
|
||||
|
||||
List<ClientSessionModel> getClientSessions();
|
||||
|
||||
public String getNote(String name);
|
||||
public void setNote(String name, String value);
|
||||
public void removeNote(String name);
|
||||
|
||||
State getState();
|
||||
void setState(State state);
|
||||
|
||||
public static enum State {
|
||||
LOGGING_IN,
|
||||
LOGGED_IN,
|
||||
LOGGING_OUT,
|
||||
LOGGED_OUT
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -18,6 +18,7 @@ public class ClientEntity extends AbstractIdentifiableEntity {
|
||||
private int notBefore;
|
||||
private boolean publicClient;
|
||||
private boolean fullScopeAllowed;
|
||||
private boolean frontchannelLogout;
|
||||
|
||||
private String realmId;
|
||||
private Map<String, String> attributes = new HashMap<String, String>();
|
||||
@@ -130,4 +131,12 @@ public class ClientEntity extends AbstractIdentifiableEntity {
|
||||
public void setAttributes(Map<String, String> attributes) {
|
||||
this.attributes = attributes;
|
||||
}
|
||||
|
||||
public boolean isFrontchannelLogout() {
|
||||
return frontchannelLogout;
|
||||
}
|
||||
|
||||
public void setFrontchannelLogout(boolean frontchannelLogout) {
|
||||
this.frontchannelLogout = frontchannelLogout;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user