Merge branch '6.4.x'
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
|
||||
package org.springframework.security.access;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@@ -29,6 +30,9 @@ import org.springframework.util.StringUtils;
|
||||
*/
|
||||
public class SecurityConfig implements ConfigAttribute {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = -7138084564199804304L;
|
||||
|
||||
private final String attrib;
|
||||
|
||||
public SecurityConfig(String config) {
|
||||
|
||||
+1
@@ -30,6 +30,7 @@ import org.springframework.security.authorization.method.AuthorizationManagerBef
|
||||
* @deprecated Use {@link AuthorizationManagerBeforeMethodInterceptor#jsr250()} instead
|
||||
*/
|
||||
@Deprecated
|
||||
@SuppressWarnings("serial")
|
||||
public class Jsr250SecurityConfig extends SecurityConfig {
|
||||
|
||||
public static final Jsr250SecurityConfig PERMIT_ALL_ATTRIBUTE = new Jsr250SecurityConfig(PermitAll.class.getName());
|
||||
|
||||
+1
@@ -28,6 +28,7 @@ import org.springframework.security.access.prepost.PostInvocationAttribute;
|
||||
* instead
|
||||
*/
|
||||
@Deprecated
|
||||
@SuppressWarnings("serial")
|
||||
class PostInvocationExpressionAttribute extends AbstractExpressionBasedMethodConfigAttribute
|
||||
implements PostInvocationAttribute {
|
||||
|
||||
|
||||
+1
@@ -28,6 +28,7 @@ import org.springframework.security.access.prepost.PreInvocationAttribute;
|
||||
* instead
|
||||
*/
|
||||
@Deprecated
|
||||
@SuppressWarnings("serial")
|
||||
class PreInvocationExpressionAttribute extends AbstractExpressionBasedMethodConfigAttribute
|
||||
implements PreInvocationAttribute {
|
||||
|
||||
|
||||
+1
@@ -54,6 +54,7 @@ import org.springframework.util.CollectionUtils;
|
||||
* @deprecated Use {@link EnableMethodSecurity} or publish interceptors directly
|
||||
*/
|
||||
@Deprecated
|
||||
@SuppressWarnings("serial")
|
||||
public class MethodSecurityMetadataSourceAdvisor extends AbstractPointcutAdvisor implements BeanFactoryAware {
|
||||
|
||||
private transient MethodSecurityMetadataSource attributeSource;
|
||||
|
||||
@@ -405,6 +405,7 @@ class ComparableVersion implements Comparable<ComparableVersion> {
|
||||
* Represents a version list item. This class is used both for the global item list
|
||||
* and for sub-lists (which start with '-(number)' in the version specification).
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
private static class ListItem extends ArrayList<Item> implements Item {
|
||||
|
||||
@Override
|
||||
|
||||
+5
@@ -16,6 +16,8 @@
|
||||
|
||||
package org.springframework.security.core.context;
|
||||
|
||||
import java.io.Serial;
|
||||
|
||||
import org.springframework.security.core.Authentication;
|
||||
import org.springframework.security.core.Transient;
|
||||
|
||||
@@ -30,6 +32,9 @@ import org.springframework.security.core.Transient;
|
||||
@Transient
|
||||
public class TransientSecurityContext extends SecurityContextImpl {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = -7925492364422193347L;
|
||||
|
||||
public TransientSecurityContext() {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user