org.nuiton.topia.security.jaas
Class TopiaPrincipal

java.lang.Object
  extended by org.nuiton.topia.security.jaas.TopiaPrincipal
All Implemented Interfaces:
Principal

public class TopiaPrincipal
extends Object
implements Principal

Implantation des principals de JAAS.

Author:
ruchaud

Field Summary
protected  String name
           
 
Constructor Summary
TopiaPrincipal(String name)
          Contructeur avec comme paramètre le nom du principal.
 
Method Summary
 boolean equals(Object o)
           
 String getName()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.security.Principal
hashCode
 

Field Detail

name

protected String name
Constructor Detail

TopiaPrincipal

public TopiaPrincipal(String name)
Contructeur avec comme paramètre le nom du principal.

Parameters:
name - topiaId d'un group ou d'utilisateur
Method Detail

getName

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

toString

public String toString()
Specified by:
toString in interface Principal
Overrides:
toString in class Object

equals

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


Copyright © 2004-2011 CodeLutin. All Rights Reserved.