Browse Source

MethodSecurityServiceImpl groovy->java

Issue: gh-4939
Rob Winch 7 năm trước cách đây
mục cha
commit
9587f3280e

+ 5 - 6
config/src/test/groovy/org/springframework/security/config/annotation/method/configuration/MethodSecurityServiceImpl.groovy → config/src/test/java/org/springframework/security/config/annotation/method/configuration/MethodSecurityServiceImpl.java

@@ -1,5 +1,5 @@
 /*
- * Copyright 2002-2013 the original author or authors.
+ * Copyright 2002-2018 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.
@@ -13,18 +13,16 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+
 package org.springframework.security.config.annotation.method.configuration;
 
-import org.springframework.security.core.Authentication
-import org.springframework.security.core.context.SecurityContextHolder
+import org.springframework.security.core.Authentication;
+import org.springframework.security.core.context.SecurityContextHolder;
 
 /**
- *
  * @author Rob Winch
- *
  */
 public class MethodSecurityServiceImpl implements MethodSecurityService {
-
 	@Override
 	public String preAuthorize() {
 		return null;
@@ -78,4 +76,5 @@ public class MethodSecurityServiceImpl implements MethodSecurityService {
 	public String postAnnotation(String object) {
 		return null;
 	}
+
 }