Skip to content

Commit ae44ac3

Browse files
Refactored associated dependencies of ServiceAuthenticationDetails
1 parent a6a2bbd commit ae44ac3

File tree

5 files changed

+5
-2
lines changed

5 files changed

+5
-2
lines changed

cas/src/main/java/org/springframework/security/cas/web/CasAuthenticationFilter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
import org.springframework.security.authentication.event.InteractiveAuthenticationSuccessEvent;
3535
import org.springframework.security.cas.ServiceProperties;
3636
import org.springframework.security.cas.authentication.CasServiceTicketAuthenticationToken;
37+
import org.springframework.security.cas.authentication.ServiceAuthenticationDetails;
3738
import org.springframework.security.cas.web.authentication.ServiceAuthenticationDetailsSource;
3839
import org.springframework.security.core.Authentication;
3940
import org.springframework.security.core.AuthenticationException;

cas/src/main/java/org/springframework/security/cas/web/authentication/DefaultServiceAuthenticationDetails.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
import jakarta.servlet.http.HttpServletRequest;
2424

25+
import org.springframework.security.cas.authentication.ServiceAuthenticationDetails;
2526
import org.springframework.security.web.authentication.WebAuthenticationDetails;
2627
import org.springframework.security.web.util.UrlUtils;
2728
import org.springframework.util.Assert;

cas/src/main/java/org/springframework/security/cas/web/authentication/ServiceAuthenticationDetailsSource.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2011-2023 the original author or authors.
2+
* Copyright 2011-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -23,6 +23,7 @@
2323

2424
import org.springframework.security.authentication.AuthenticationDetailsSource;
2525
import org.springframework.security.cas.ServiceProperties;
26+
import org.springframework.security.cas.authentication.ServiceAuthenticationDetails;
2627
import org.springframework.util.Assert;
2728

2829
/**

cas/src/test/java/org/springframework/security/cas/authentication/CasAuthenticationProviderTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
import org.springframework.security.authentication.TestingAuthenticationToken;
3131
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
3232
import org.springframework.security.cas.ServiceProperties;
33-
import org.springframework.security.cas.authentication.ServiceAuthenticationDetails;
3433
import org.springframework.security.core.Authentication;
3534
import org.springframework.security.core.AuthenticationException;
3635
import org.springframework.security.core.authority.AuthorityUtils;

cas/src/test/java/org/springframework/security/cas/web/authentication/DefaultServiceAuthenticationDetailsTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
import org.springframework.context.support.GenericXmlApplicationContext;
2727
import org.springframework.mock.web.MockHttpServletRequest;
2828
import org.springframework.security.cas.ServiceProperties;
29+
import org.springframework.security.cas.authentication.ServiceAuthenticationDetails;
2930
import org.springframework.security.web.util.UrlUtils;
3031

3132
import static org.assertj.core.api.Assertions.assertThat;

0 commit comments

Comments
 (0)