org.ztemplates.web.spring
Class ZSecurityServiceSpring

java.lang.Object
  extended by org.ztemplates.web.spring.ZSecurityServiceSpring
All Implemented Interfaces:
ZISecurityService, ZIService

@Component(value="ZISecurityService")
@Scope(value="request")
public class ZSecurityServiceSpring
extends Object
implements ZISecurityService

Spring proxy for ZISecurityService

Author:
gerd

Field Summary
 
Fields inherited from interface org.ztemplates.web.ZISecurityService
SPRING_NAME
 
Constructor Summary
ZSecurityServiceSpring()
           
 
Method Summary
 ZISecureUrlDecorator getSecureUrlDecorator()
           
 ZISecurityProvider getSecurityProvider()
           
 String getUserName()
           
 boolean isUserInRole(String role)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZSecurityServiceSpring

public ZSecurityServiceSpring()
Method Detail

getSecurityProvider

public ZISecurityProvider getSecurityProvider()
Specified by:
getSecurityProvider in interface ZISecurityService

getSecureUrlDecorator

public ZISecureUrlDecorator getSecureUrlDecorator()
Specified by:
getSecureUrlDecorator in interface ZISecurityService

getUserName

public String getUserName()
                   throws Exception
Specified by:
getUserName in interface ZISecurityService
Throws:
Exception

isUserInRole

public boolean isUserInRole(String role)
                     throws Exception
Specified by:
isUserInRole in interface ZISecurityService
Throws:
Exception


Copyright © 2011. All Rights Reserved.