info.magnolia.jaas.principal
Class EntityImpl
java.lang.Object
info.magnolia.jaas.principal.EntityImpl
- All Implemented Interfaces:
- Entity, Serializable, Principal
Deprecated. since 4.5 - not required for JCR based security.
@Deprecated
public class EntityImpl
- extends Object
- implements Entity
Implementation fo the security entity.
- See Also:
- Serialized Form
EntityImpl
public EntityImpl()
- Deprecated.
getName
public String getName()
- Deprecated.
- Specified by:
getName
in interface 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 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-2014 Magnolia International Ltd.. All Rights Reserved.