Skip to content

Commit c4893b0

Browse files
committed
deprecate
1 parent c273e26 commit c4893b0

File tree

7 files changed

+23
-1
lines changed

7 files changed

+23
-1
lines changed

javaee-pac4j/src/main/java/org/pac4j/jee/filter/CallbackFilter.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,16 @@
1717
import java.io.IOException;
1818

1919
/**
20+
* You should upgrade to the new <code>jakartaee-pac4j</code> library.
21+
*
2022
* <p>This filter finishes the login process for an indirect client.</p>
2123
*
2224
* @author Jerome Leleu
2325
* @since 1.0.0
2426
*/
2527
@Getter
2628
@Setter
29+
@Deprecated
2730
public class CallbackFilter extends AbstractConfigFilter {
2831

2932
private String defaultUrl;

javaee-pac4j/src/main/java/org/pac4j/jee/filter/LogoutFilter.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,16 @@
1717
import java.io.IOException;
1818

1919
/**
20+
* You should upgrade to the new <code>jakartaee-pac4j</code> library.
21+
*
2022
* <p>This filter handles the (application + identity provider) logout process.</p>
2123
*
2224
* @author Jerome Leleu
2325
* @since 1.2.0
2426
*/
2527
@Getter
2628
@Setter
29+
@Deprecated
2730
public class LogoutFilter extends AbstractConfigFilter {
2831

2932
private String defaultUrl;

javaee-pac4j/src/main/java/org/pac4j/jee/filter/SecurityFilter.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,16 @@
2020
import java.io.IOException;
2121

2222
/**
23+
* You should upgrade to the new <code>jakartaee-pac4j</code> library.
24+
*
2325
* <p>This filter protects an URL.</p>
2426
*
2527
* @author Jerome Leleu, Michael Remond
2628
* @since 1.0.0
2729
*/
2830
@Getter
2931
@Setter
32+
@Deprecated
3033
public class SecurityFilter extends AbstractConfigFilter implements SecurityEndpoint {
3134

3235
private String clients;

javaee-pac4j/src/main/java/org/pac4j/jee/util/FilterHelper.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,18 @@
1010
import java.util.EnumSet;
1111
import java.util.List;
1212

13-
import static org.pac4j.core.util.CommonHelper.*;
13+
import static org.pac4j.core.util.CommonHelper.assertNotBlank;
14+
import static org.pac4j.core.util.CommonHelper.assertNotNull;
1415

1516
/**
17+
* You should upgrade to the new <code>jakartaee-pac4j</code> library.
18+
*
1619
* Helper to define filter mappings.
1720
*
1821
* @author Jerome Leleu
1922
* @since 3.0.0
2023
*/
24+
@Deprecated
2125
public class FilterHelper {
2226

2327
private final ServletContext servletContext;

javaee-pac4j/src/main/java/org/pac4j/jee/util/HttpServletResponseProducer.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
import javax.servlet.http.HttpServletResponse;
1010

1111
/**
12+
* You should upgrade to the new <code>jakartaee-pac4j</code> library.
13+
*
1214
* Produces a servlet response object corresponding to the response for the current request.
1315
*
1416
* @author Phillip Ross
@@ -17,6 +19,7 @@
1719
@Named
1820
@RequestScoped
1921
@Slf4j
22+
@Deprecated
2023
public class HttpServletResponseProducer {
2124

2225
/**

javaee-pac4j/src/main/java/org/pac4j/jee/util/Pac4JHttpServletRequestWrapper.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,15 @@
1010
import java.util.Optional;
1111

1212
/**
13+
* You should upgrade to the new <code>jakartaee-pac4j</code> library.
14+
*
1315
* This wraps the {@link HttpServletRequest} to make it pac4j-aware by with respect to user-related methods.
1416
*
1517
* @author Victor Noel
1618
* @since 4.0.0
1719
*
1820
*/
21+
@Deprecated
1922
public class Pac4JHttpServletRequestWrapper extends HttpServletRequestWrapper {
2023

2124
private Collection<UserProfile> profiles;

javaee-pac4j/src/main/java/org/pac4j/jee/util/Pac4jProducer.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
import javax.servlet.http.HttpServletResponse;
1818

1919
/**
20+
* You should upgrade to the new <code>jakartaee-pac4j</code> library.
21+
*
2022
* Produces request-scoped web context and profile manager.
2123
*
2224
* @author Phillip Ross
@@ -25,6 +27,7 @@
2527
@Named
2628
@RequestScoped
2729
@Slf4j
30+
@Deprecated
2831
public class Pac4jProducer {
2932

3033
/**

0 commit comments

Comments
 (0)