SEC-1887: Improve extensibility of expression-based security classes

Introduces a new SecurityExpressionOperations interface which is
implemented by SecurityExpressionRoot
This commit is contained in:
Andrei Stefan
2012-01-20 02:48:36 +02:00
committed by Luke Taylor
parent b493afa18c
commit 0f9ee81df1
6 changed files with 118 additions and 30 deletions

View File

@@ -23,7 +23,7 @@ public class AbstractSecurityExpressionHandlerTests {
public void setUp() throws Exception {
handler = new AbstractSecurityExpressionHandler<Object>() {
@Override
protected SecurityExpressionRoot createSecurityExpressionRoot(Authentication authentication, Object o) {
protected SecurityExpressionOperations createSecurityExpressionRoot(Authentication authentication, Object o) {
return new SecurityExpressionRoot(authentication) {};
}
};