Commit ec3dbd52 authored by michael.simon's avatar michael.simon
Browse files

remove assertion from session manager. Not used and only using space and

bandwidth in clustered envs.
parent 0b423cfb
......@@ -107,7 +107,6 @@ public class Saml2PostHandlerServlet {
String persistentId = saml2AssertionService.extractPersistentId(assertion, spConfig);
logger.debug("Storing relevant SAML data in session");
session.setAssertion(samlHelper.marshal(assertion));
session.setPersistentId(persistentId);
Map<String, List<Object>> attributeMap = saml2AssertionService.extractAttributes(assertion);
session.setAttributeMap(attributeMap);
......
......@@ -37,22 +37,12 @@ public class SessionManager implements Serializable {
private String originalRequestPath;
private String originalIdpEntityId;
private String assertion;
private Set<String> roles;
private String theme;
private String locale;
public String getAssertion() {
return assertion;
}
public void setAssertion(String assertion) {
this.assertion = assertion;
}
public Long getUserId() {
return userId;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment