info.magnolia.cms.security.auth
Interface Entity

All Superinterfaces:
Principal, Serializable
All Known Implementing Classes:
EntityImpl

Deprecated.

@Deprecated
public interface Entity
extends Principal, Serializable

A user entity. Defines some standard properties as user name or language.

Author:
Sameer Charles $Id$

Field Summary
static String ADDRESS_LINE
          Deprecated.  
static String EMAIL
          Deprecated.  
static String FULL_NAME
          Deprecated.  
static String LANGUAGE
          Deprecated.  
static String LOCALE
          Deprecated.  
static String NAME
          Deprecated.  
static String PASSWORD
          Deprecated.  
 
Method Summary
 void addProperty(String key, Object value)
          Deprecated.  
 String getName()
          Deprecated.  
 Object getProperty(String key)
          Deprecated.  
 void setName(String name)
          Deprecated. not used - use addProperty(Entity.NAME)
 
Methods inherited from interface java.security.Principal
equals, hashCode, toString
 

Field Detail

FULL_NAME

static final String FULL_NAME
Deprecated. 
See Also:
Constant Field Values

NAME

static final String NAME
Deprecated. 
See Also:
Constant Field Values

EMAIL

static final String EMAIL
Deprecated. 
See Also:
Constant Field Values

LANGUAGE

static final String LANGUAGE
Deprecated. 
See Also:
Constant Field Values

LOCALE

static final String LOCALE
Deprecated. 
See Also:
Constant Field Values

ADDRESS_LINE

static final String ADDRESS_LINE
Deprecated. 
See Also:
Constant Field Values

PASSWORD

static final String PASSWORD
Deprecated. 
See Also:
Constant Field Values
Method Detail

getName

String getName()
Deprecated. 
Specified by:
getName in interface Principal
Returns:
the name of the entity, or a default value if no name was set.

setName

@Deprecated
void setName(String name)
Deprecated. not used - use addProperty(Entity.NAME)


addProperty

void addProperty(String key,
                 Object value)
Deprecated. 

getProperty

Object getProperty(String key)
Deprecated. 
Returns:
the property's value, or null if undefined


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