This commit is contained in:
Phillip Webb
2014-01-10 12:55:25 -08:00
parent 26d900f3ad
commit 47da8a817a
26 changed files with 112 additions and 66 deletions

View File

@@ -22,11 +22,11 @@ import org.springframework.stereotype.Service;
/**
* @author Dave Syer
*
*
*/
@Service
public class SampleService {
@Secured("ROLE_USER")
public String secure() {
return "Hello Security";