saml redirect logout 1st step

This commit is contained in:
Bill Burke
2015-01-16 18:57:33 -05:00
parent e796c11b64
commit a0ba6d2c16
31 changed files with 801 additions and 63 deletions
@@ -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;
}
}