info.magnolia.jaas.principal
Class EntityImpl

java.lang.Object
  extended by info.magnolia.jaas.principal.EntityImpl
All Implemented Interfaces:
info.magnolia.cms.security.auth.Entity, Serializable, Principal

Deprecated.

@Deprecated
public class EntityImpl
extends Object
implements info.magnolia.cms.security.auth.Entity

Implementation fo the security entity.

Author:
Sameer Charles $Id$
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface info.magnolia.cms.security.auth.Entity
ADDRESS_LINE, EMAIL, FULL_NAME, LANGUAGE, LOCALE, NAME, PASSWORD
 
Constructor Summary
EntityImpl()
          Deprecated.  
 
Method Summary
 void addProperty(String key, Object value)
          Deprecated.  
 String getName()
          Deprecated. Gets name given to this principal.
 Object getProperty(String key)
          Deprecated.  
 void setName(String name)
          Deprecated. use addProperty(NAME, name)
 String toString()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.security.Principal
equals, hashCode
 

Constructor Detail

EntityImpl

public EntityImpl()
Deprecated. 
Method Detail

getName

public String getName()
Deprecated. 
Gets name given to this principal.

Specified by:
getName in interface info.magnolia.cms.security.auth.Entity
Specified by:
getName in interface Principal
Returns:
name

setName

@Deprecated
public void setName(String name)
Deprecated. use addProperty(NAME, name)

Specified by:
setName in interface info.magnolia.cms.security.auth.Entity

addProperty

public void addProperty(String key,
                        Object value)
Deprecated. 
Specified by:
addProperty in interface info.magnolia.cms.security.auth.Entity

getProperty

public Object getProperty(String key)
Deprecated. 
Specified by:
getProperty in interface info.magnolia.cms.security.auth.Entity

toString

public String toString()
Deprecated. 
Specified by:
toString in interface Principal
Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.