Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions core/spring-security-core.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import java.util.concurrent.Callable

plugins {
id 'javadoc-warnings-error'
id 'security-nullability'
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ private RoleHierarchyUtils() {

/**
* Converts the supplied {@link Map} of role name to implied role name(s) to a string
* representation understood by {@link RoleHierarchyImpl#setHierarchy(String)}. The
* map key is the role name and the map value is a {@link List} of implied role
* name(s).
* @param roleHierarchyMap the mapping(s) of role name to implied role name(s)
* representation understood by the role hierarchy parser. The map key is the role
* name and the map value is a {@link List} of implied role name(s). * @param
* roleHierarchyMap the mapping(s) of role name to implied role name(s)
* @return a string representation of a role hierarchy
* @throws IllegalArgumentException if roleHierarchyMap is null or empty or if a role
* name is null or empty or if an implied role name(s) is null or empty
* @deprecated please see {@link RoleHierarchyImpl#setHierarchy} deprecation notice
* @throws IllegalArgumentException if roleHierarchyMap is null or empty, or if a role
* name/implied role name is null or empty
* @deprecated Use {@link RoleHierarchyImpl#fromHierarchy(String)} or the
* builder-based approach instead of this manual conversion.
*/
@Deprecated
public static String roleHierarchyFromMap(Map<String, List<String>> roleHierarchyMap) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@

/**
* Core access-control related code, including security metadata related classes,
* interception code, access control annotations, EL support and voter-based
* implementations of the central
* {@link org.springframework.security.access.AccessDecisionManager AccessDecisionManager}
* interface.
* interception code, access control annotations, EL support, and implementations of the
* central {@link org.springframework.security.authorization.AuthorizationManager
* AuthorizationManager} interface.
*/
@NullMarked
package org.springframework.security.access;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ default boolean isFullyAuthenticated(@Nullable Authentication authentication) {
* Checks if the {@link Authentication} is not null, authenticated, and not anonymous.
* @param authentication the {@link Authentication} to check.
* @return true if the {@link Authentication} is not null,
* {@link #isAnonymous(Authentication)} returns false, &
* {@link #isAnonymous(Authentication)} returns false and
* {@link Authentication#isAuthenticated()} is true.
* @since 6.1.7
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ public final class SpringSecurityCoreVersion {

/**
* Global Serialization value for Spring Security classes.
* @deprecated Please have each class use its own serialization version
* @see SpringSecurityCoreVersionSerializableTests
* @deprecated Please have each class use its own serialization version For more
* details, refer to the {@code SpringSecurityCoreVersionSerializableTests} class.
*/
@Deprecated(forRemoval = true)
public static final long SERIAL_VERSION_UID = 620L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ public interface SecurityAnnotationScanner<A extends Annotation> {
* attributable to the parameter.
*
* <p>
* Implementations should describe their strategy for searching the element and any
* Implementations should describe their strategy for searching the parameter and any
* surrounding class, interfaces, or super-class.
* @param element the element to search
* @param parameter the parameter to search
* @return the synthesized annotation or {@code null} if not found
*/
@Nullable A scan(Parameter parameter);
Expand Down
Loading