Browse Source

fix javadoc typo

SeasonPan 2 năm trước cách đây
mục cha
commit
a44e91d044

+ 0 - 1
config/src/main/java/org/springframework/security/config/annotation/web/configurers/AbstractAuthenticationFilterConfigurer.java

@@ -380,7 +380,6 @@ public abstract class AbstractAuthenticationFilterConfigurer<B extends HttpSecur
 
 	/**
 	 * Updates the default values for authentication.
-	 * @throws Exception
 	 */
 	protected final void updateAuthenticationDefaults() {
 		if (this.loginProcessingUrl == null) {

+ 1 - 1
config/src/main/java/org/springframework/security/config/annotation/web/configurers/HeadersConfigurer.java

@@ -531,7 +531,7 @@ public class HeadersConfigurer<H extends HttpSecurityBuilder<H>>
 	 * @throws IllegalArgumentException if policyDirectives is {@code null} or empty
 	 * @since 5.1
 	 * @deprecated For removal in 7.0. Use {@link #permissionsPolicy(Customizer)} instead.
-	 * @seeObjectPostProcessorConfiguration FeaturePolicyHeaderWriter
+	 * @see ObjectPostProcessorConfiguration FeaturePolicyHeaderWriter
 	 */
 	@Deprecated
 	public FeaturePolicyConfig featurePolicy(String policyDirectives) {

+ 0 - 3
core/src/main/java/org/springframework/security/authentication/jaas/SecurityContextLoginModule.java

@@ -71,7 +71,6 @@ public class SecurityContextLoginModule implements LoginModule {
 	 * <code>Authentication</code>.
 	 * @return true if this method succeeded, or false if this <code>LoginModule</code>
 	 * should be ignored.
-	 * @exception LoginException if the abort fails
 	 */
 	@Override
 	public boolean abort() {
@@ -87,7 +86,6 @@ public class SecurityContextLoginModule implements LoginModule {
 	 * <code>Authentication</code> to the <code>Subject</code>'s principals.
 	 * @return true if this method succeeded, or false if this <code>LoginModule</code>
 	 * should be ignored.
-	 * @exception LoginException if the commit fails
 	 */
 	@Override
 	public boolean commit() {
@@ -161,7 +159,6 @@ public class SecurityContextLoginModule implements LoginModule {
 	 * Log out the <code>Subject</code>.
 	 * @return true if this method succeeded, or false if this <code>LoginModule</code>
 	 * should be ignored.
-	 * @exception LoginException if the logout fails
 	 */
 	@Override
 	public boolean logout() {

+ 0 - 1
core/src/main/java/org/springframework/security/core/authority/mapping/MapBasedAttributes2GrantedAuthoritiesMapper.java

@@ -117,7 +117,6 @@ public class MapBasedAttributes2GrantedAuthoritiesMapper
 	 * Convert the given value to a collection of Granted Authorities, adding the result
 	 * to the given result collection.
 	 * @param value The value to convert to a GrantedAuthority Collection
-	 * @return Collection containing the GrantedAuthority Collection
 	 */
 	private void addGrantedAuthorityCollection(Collection<GrantedAuthority> result, Object value) {
 		if (value == null) {

+ 0 - 1
core/src/main/java/org/springframework/security/core/parameters/AnnotationParameterNameDiscoverer.java

@@ -180,7 +180,6 @@ public class AnnotationParameterNameDiscoverer implements ParameterNameDiscovere
 		/**
 		 * Gets the {@link Annotation}s at a specified index
 		 * @param t
-		 * @param index
 		 * @return
 		 */
 		Annotation[][] findParameterAnnotations(T t);

+ 1 - 1
saml2/saml2-service-provider/src/main/java/org/springframework/security/saml2/provider/service/authentication/AbstractSaml2AuthenticationRequest.java

@@ -153,7 +153,7 @@ public abstract class AbstractSaml2AuthenticationRequest implements Serializable
 		/**
 		 * Creates a new Builder with relying party registration
 		 * @param registration the registration of the relying party.
-		 * @sine 5.8
+		 * @since 5.8
 		 */
 		protected Builder(RelyingPartyRegistration registration) {
 			this.relyingPartyRegistrationId = registration.getRegistrationId();