Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
reg-app
Regapp
Commits
ec3dbd52
Commit
ec3dbd52
authored
Jul 22, 2015
by
michael.simon
Browse files
remove assertion from session manager. Not used and only using space and
bandwidth in clustered envs.
parent
0b423cfb
Changes
2
Hide whitespace changes
Inline
Side-by-side
bwreg-webapp/src/main/java/edu/kit/scc/webreg/sec/Saml2PostHandlerServlet.java
View file @
ec3dbd52
...
...
@@ -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
);
...
...
bwreg-webapp/src/main/java/edu/kit/scc/webreg/util/SessionManager.java
View file @
ec3dbd52
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment