com.konakartadmin.bl
Class AdminSecurityMgr.SessionData

java.lang.Object
  extended by com.konakartadmin.bl.AdminSecurityMgr.SessionData
Enclosing class:
AdminSecurityMgr

protected class AdminSecurityMgr.SessionData
extends java.lang.Object

Class that contains the login attempt, information for a user so that we can block hackers


Field Summary
private  AdminRole[] roles
           
private  boolean superUser
           
 
Constructor Summary
protected AdminSecurityMgr.SessionData()
           
 
Method Summary
 AdminRole[] getRoles()
           
 boolean isSuperUser()
           
 void setRoles(AdminRole[] roles)
           
 void setSuperUser(boolean superUser)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

roles

private AdminRole[] roles

superUser

private boolean superUser
Constructor Detail

AdminSecurityMgr.SessionData

protected AdminSecurityMgr.SessionData()
Method Detail

getRoles

public AdminRole[] getRoles()
Returns:
the roles

setRoles

public void setRoles(AdminRole[] roles)
Parameters:
roles - the roles to set

isSuperUser

public boolean isSuperUser()
Returns:
the superUser

setSuperUser

public void setSuperUser(boolean superUser)
Parameters:
superUser - the superUser to set


Copyright © 2011 DS Data Systems UK Ltd.