org.ztemplates.web.request.impl
Class ZSecurityServiceImpl

java.lang.Object
  extended by org.ztemplates.web.request.impl.ZSecurityServiceImpl
All Implemented Interfaces:
ZISecurityService, ZIService

public class ZSecurityServiceImpl
extends Object
implements ZISecurityService


Field Summary
 
Fields inherited from interface org.ztemplates.web.ZISecurityService
SPRING_NAME
 
Constructor Summary
ZSecurityServiceImpl(ZISecurityProvider securityProvider, ZISecureUrlDecorator secureUrlDecorator)
           
 
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

ZSecurityServiceImpl

public ZSecurityServiceImpl(ZISecurityProvider securityProvider,
                            ZISecureUrlDecorator secureUrlDecorator)
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.