Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RegApp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Janis Streib
RegApp
Commits
ba79328f
Commit
ba79328f
authored
11 months ago
by
Michael Simon
Browse files
Options
Downloads
Patches
Plain Diff
NO_STORY should be dao methods inside service layer
parent
c72b133b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bwreg-service/src/main/java/edu/kit/scc/webreg/service/saml/SamlSpRedirectService.java
+6
-6
6 additions, 6 deletions
...du/kit/scc/webreg/service/saml/SamlSpRedirectService.java
with
6 additions
and
6 deletions
bwreg-service/src/main/java/edu/kit/scc/webreg/service/saml/SamlSpRedirectService.java
+
6
−
6
View file @
ba79328f
...
...
@@ -5,10 +5,10 @@ import java.io.Serializable;
import
org.opensaml.messaging.encoder.MessageEncodingException
;
import
edu.kit.scc.webreg.annotations.RetryTransaction
;
import
edu.kit.scc.webreg.dao.SamlIdpMetadataDao
;
import
edu.kit.scc.webreg.dao.SamlSpConfigurationDao
;
import
edu.kit.scc.webreg.entity.SamlIdpMetadataEntity
;
import
edu.kit.scc.webreg.entity.SamlSpConfigurationEntity
;
import
edu.kit.scc.webreg.service.SamlIdpMetadataService
;
import
edu.kit.scc.webreg.service.SamlSpConfigurationService
;
import
jakarta.ejb.Stateless
;
import
jakarta.ejb.TransactionManagement
;
import
jakarta.ejb.TransactionManagementType
;
...
...
@@ -24,10 +24,10 @@ public class SamlSpRedirectService implements Serializable {
private
static
final
long
serialVersionUID
=
1L
;
@Inject
private
SamlIdpMetadata
Service
idpService
;
private
SamlIdpMetadata
Dao
idpDao
;
@Inject
private
SamlSpConfiguration
Service
spService
;
private
SamlSpConfiguration
Dao
spDao
;
@Inject
private
Saml2RedirectService
saml2RedirectService
;
...
...
@@ -37,8 +37,8 @@ public class SamlSpRedirectService implements Serializable {
HttpServletRequest
request
,
HttpServletResponse
response
)
throws
MessageEncodingException
,
ComponentInitializationException
{
SamlIdpMetadataEntity
idpEntity
=
idp
Service
.
fetch
(
idpEntityId
);
SamlSpConfigurationEntity
spEntity
=
sp
Service
.
fetch
(
spEntityId
);
SamlIdpMetadataEntity
idpEntity
=
idp
Dao
.
fetch
(
idpEntityId
);
SamlSpConfigurationEntity
spEntity
=
sp
Dao
.
fetch
(
spEntityId
);
saml2RedirectService
.
redirectClient
(
idpEntity
,
spEntity
,
request
,
response
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment