MethodSecurityServiceImpl groovy->java

Issue: gh-4939
This commit is contained in:
Rob Winch 2018-02-06 14:09:58 -06:00
parent 751130ba04
commit 9587f3280e
1 changed files with 5 additions and 6 deletions

View File

@ -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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with 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 * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.security.config.annotation.method.configuration; package org.springframework.security.config.annotation.method.configuration;
import org.springframework.security.core.Authentication import org.springframework.security.core.Authentication;
import org.springframework.security.core.context.SecurityContextHolder import org.springframework.security.core.context.SecurityContextHolder;
/** /**
*
* @author Rob Winch * @author Rob Winch
*
*/ */
public class MethodSecurityServiceImpl implements MethodSecurityService { public class MethodSecurityServiceImpl implements MethodSecurityService {
@Override @Override
public String preAuthorize() { public String preAuthorize() {
return null; return null;
@ -78,4 +76,5 @@ public class MethodSecurityServiceImpl implements MethodSecurityService {
public String postAnnotation(String object) { public String postAnnotation(String object) {
return null; return null;
} }
} }