org.zkoss.spring.init
Class SecurityVariableResolver
java.lang.Object
org.zkoss.spring.init.SecurityVariableResolver
- All Implemented Interfaces:
- org.zkoss.xel.VariableResolver
public class SecurityVariableResolver
- extends java.lang.Object
- implements org.zkoss.xel.VariableResolver
DelegatingVariableResolver, a spring security variable resolver.
It resolves a Spring Security variable authentication
to represent
the implementation instance of org.springframework.security.core.Authentication
.
Usage:
<?variable-resolver class="org.zkoss.spring.security.DelegatingVariableResolver"?>
- Since:
- 3.0
- Author:
- ashish
Method Summary |
boolean |
equals(java.lang.Object obj)
|
int |
hashCode()
|
java.lang.Object |
resolveVariable(java.lang.String name)
Get the spring bean by the specified name. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
SecurityVariableResolver
public SecurityVariableResolver()
resolveVariable
public java.lang.Object resolveVariable(java.lang.String name)
- Get the spring bean by the specified name.
- Specified by:
resolveVariable
in interface org.zkoss.xel.VariableResolver
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
Copyright © 2005-2007 Potix Corporation. All Rights Reserved.