review phase1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2013 the original author or authors.
|
||||
* Copyright 2002-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -15,6 +15,8 @@
|
||||
*/
|
||||
package org.springframework.security.web.bind.support;
|
||||
|
||||
import java.lang.annotation.Annotation;
|
||||
|
||||
import org.springframework.core.MethodParameter;
|
||||
import org.springframework.core.annotation.AnnotationUtils;
|
||||
import org.springframework.expression.BeanResolver;
|
||||
@@ -32,8 +34,6 @@ import org.springframework.web.context.request.NativeWebRequest;
|
||||
import org.springframework.web.method.support.HandlerMethodArgumentResolver;
|
||||
import org.springframework.web.method.support.ModelAndViewContainer;
|
||||
|
||||
import java.lang.annotation.Annotation;
|
||||
|
||||
/**
|
||||
* Allows resolving the {@link SecurityContext} using the
|
||||
* {@link CurrentSecurityContext} annotation. For example, the following
|
||||
@@ -69,7 +69,7 @@ import java.lang.annotation.Annotation;
|
||||
* </p>
|
||||
*
|
||||
* @author Dan Zheng
|
||||
* @since 5.2.x
|
||||
* @since 5.2
|
||||
*/
|
||||
public final class CurrentSecurityContextArgumentResolver
|
||||
implements HandlerMethodArgumentResolver {
|
||||
|
||||
@@ -40,7 +40,7 @@ import java.lang.annotation.Annotation;
|
||||
/**
|
||||
* Resolves the SecurityContext
|
||||
* @author Dan Zheng
|
||||
* @since 5.2.x
|
||||
* @since 5.2
|
||||
*/
|
||||
public class CurrentSecurityContextArgumentResolver extends HandlerMethodArgumentResolverSupport {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user