nl.hippo.portal.cms
Class CMSUserWrapper

java.lang.Object
  extended by nl.hippo.portal.cms.CMSUserWrapper
All Implemented Interfaces:
nl.hippo.portal.cms.CMSUser

public class CMSUserWrapper
extends java.lang.Object
implements nl.hippo.portal.cms.CMSUser

Version:
$Id: CMSUserWrapper.java 6122 2007-04-18 14:34:48Z pduin $

Constructor Summary
CMSUserWrapper(nl.hippo.portal.cms.CMSUser cmsUser, nl.hippo.portal.domain.model.User user)
           
 
Method Summary
 java.security.Principal getPrincipal()
           
 nl.hippo.portal.domain.model.User getUser()
           
 boolean isUserInRole(java.lang.String role)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMSUserWrapper

public CMSUserWrapper(nl.hippo.portal.cms.CMSUser cmsUser,
                      nl.hippo.portal.domain.model.User user)
Method Detail

getPrincipal

public java.security.Principal getPrincipal()
Specified by:
getPrincipal in interface nl.hippo.portal.cms.CMSUser

getUser

public nl.hippo.portal.domain.model.User getUser()
Specified by:
getUser in interface nl.hippo.portal.cms.CMSUser

isUserInRole

public boolean isUserInRole(java.lang.String role)
Specified by:
isUserInRole in interface nl.hippo.portal.cms.CMSUser


Copyright © 2007-2008 . All Rights Reserved.