info.magnolia.jaas.principal
Class EntityImpl

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

Deprecated.

@Deprecated
public class EntityImpl
extends Object
implements Entity

Implementation fo the security entity.

Author:
Sameer Charles $Id: EntityImpl.java 44899 2011-05-10 08:56:45Z dlipp $
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 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 Entity

addProperty

public void addProperty(String key,
                        Object value)
Deprecated. 
Specified by:
addProperty in interface Entity

getProperty

public Object getProperty(String key)
Deprecated. 
Specified by:
getProperty in interface Entity
Returns:
the property's value, or null if undefined

toString

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


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