org.eclipse.emf.emfstore.internal.server.accesscontrol.authentication
Class ACUserContainer

java.lang.Object
  extended by org.eclipse.emf.emfstore.internal.server.accesscontrol.authentication.ACUserContainer

public class ACUserContainer
extends Object

User container that additionally is capable of performing an activity check of the user being hold.

Author:
wesendonk

Constructor Summary
ACUserContainer(ACUser acUser)
          Constructor.
 
Method Summary
 ACUser getRawUser()
          Returns the user instance that this container holds.
 ACUser getUser()
          Returns the user and additionally performs a activity check of the user.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ACUserContainer

public ACUserContainer(ACUser acUser)
Constructor.

Parameters:
acUser - an user instance
Method Detail

getUser

public ACUser getUser()
               throws AccessControlException
Returns the user and additionally performs a activity check of the user.

Returns:
the user
Throws:
AccessControlException - in case the user hasn't been active

getRawUser

public ACUser getRawUser()
Returns the user instance that this container holds.

Returns:
the user instance


Copyright © 2015. All Rights Reserved.