org.ztemplates.web.standalone
Class ZSecurityProviderStandalone

java.lang.Object
  extended by org.ztemplates.web.standalone.ZSecurityProviderStandalone
All Implemented Interfaces:
ZISecurityProvider

public class ZSecurityProviderStandalone
extends Object
implements ZISecurityProvider


Constructor Summary
ZSecurityProviderStandalone(String userName)
           
 
Method Summary
 String getUserName()
           
 boolean isUserInRole(String role)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZSecurityProviderStandalone

public ZSecurityProviderStandalone(String userName)
Method Detail

getUserName

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

isUserInRole

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


Copyright © 2011. All Rights Reserved.