Class SecurityVariableResolver

java.lang.Object
org.zkoss.spring.init.SecurityVariableResolver
All Implemented Interfaces:
Serializable, org.zkoss.xel.VariableResolver

public class SecurityVariableResolver extends Object implements org.zkoss.xel.VariableResolver, Serializable
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
See Also:
  • Constructor Details

    • SecurityVariableResolver

      public SecurityVariableResolver()
  • Method Details

    • resolveVariable

      public Object resolveVariable(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 Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object