fr.ifremer.wao.ui.services
Class ServiceAuthenticationImpl

java.lang.Object
  extended by fr.ifremer.wao.ui.services.ServiceAuthenticationImpl
All Implemented Interfaces:
ServiceAuthentication

public class ServiceAuthenticationImpl
extends Object
implements ServiceAuthentication

ServiceAuthenticationImpl Created: 3 mai 2010

Author:
fdesbois $Id: ServiceAuthenticationImpl.java 507 2010-06-11 14:51:13Z fdesbois $

Constructor Summary
ServiceAuthenticationImpl(org.apache.tapestry5.services.ApplicationStateManager stateManager)
           
 
Method Summary
 boolean existConnectedUser()
           
 ConnectedUser getConnectedUser()
           
 ConnectedUser getNewUserInstance()
           
 boolean isAllowed(Class<?> page)
           
 void setConnectedUser(ConnectedUser user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceAuthenticationImpl

public ServiceAuthenticationImpl(org.apache.tapestry5.services.ApplicationStateManager stateManager)
Method Detail

existConnectedUser

public boolean existConnectedUser()
Specified by:
existConnectedUser in interface ServiceAuthentication

getConnectedUser

public ConnectedUser getConnectedUser()
Specified by:
getConnectedUser in interface ServiceAuthentication

setConnectedUser

public void setConnectedUser(ConnectedUser user)
Specified by:
setConnectedUser in interface ServiceAuthentication

isAllowed

public boolean isAllowed(Class<?> page)
Specified by:
isAllowed in interface ServiceAuthentication

getNewUserInstance

public ConnectedUser getNewUserInstance()
Specified by:
getNewUserInstance in interface ServiceAuthentication


Copyright © 2009-2010 Ifremer. All Rights Reserved.