info.magnolia.cms.security
Class Realm.RealmImpl

java.lang.Object
  extended by info.magnolia.cms.security.Realm.RealmImpl
All Implemented Interfaces:
Realm, Serializable, Principal
Enclosing interface:
Realm

public static class Realm.RealmImpl
extends Object
implements Realm, Serializable

Implementation of the realm. Enum would be easier to read, but would not be backward compatible.

Version:
$Id$
Author:
had
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface info.magnolia.cms.security.Realm
Realm.Factory, Realm.RealmImpl
 
Field Summary
 
Fields inherited from interface info.magnolia.cms.security.Realm
DEFAULT_REALM, REALM_ADMIN, REALM_ALL, REALM_SYSTEM
 
Constructor Summary
Realm.RealmImpl(String name)
           
 
Method Summary
 boolean equals(Object o)
           
 String getName()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.security.Principal
toString
 

Constructor Detail

Realm.RealmImpl

public Realm.RealmImpl(String name)
Method Detail

getName

public String getName()
Specified by:
getName in interface Principal

hashCode

public int hashCode()
Specified by:
hashCode in interface Principal
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Specified by:
equals in interface Principal
Overrides:
equals in class Object


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