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. since 4.5 - not required for JCR based security.

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

Implementation fo the security entity.

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.  
 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. 
Specified by:
getName in interface info.magnolia.cms.security.auth.Entity
Specified by:
getName in interface Principal
Returns:
the name given to this principal.

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-2014 Magnolia International Ltd.. All Rights Reserved.