|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.platform.security.api.MetaMatrixPrincipalNames
public class MetaMatrixPrincipalNames
This class wraps two Collections of String
names -
the first is a Collection
of names of MetaMatrix
user principals, the other is a Collection
of group
principal names. These principal names can then be used, by a client,
to retrieve a MetaMatrixPrincipal
object from the server.
Constructor Summary | |
---|---|
MetaMatrixPrincipalNames(java.util.Set groupPrincipalNames,
java.util.Set userPrincipalNames)
The constructor takes two Sets of names - one of group names, one of user names. |
Method Summary | |
---|---|
java.util.Collection |
getGroupPrincipalNames()
Returns the names of all group principals contained in this object |
java.util.Collection |
getUserPrincipalNames()
Returns the names of all user principals contained in this object |
java.lang.String |
toString()
Displays the group and user names |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MetaMatrixPrincipalNames(java.util.Set groupPrincipalNames, java.util.Set userPrincipalNames)
Method Detail |
---|
public java.util.Collection getGroupPrincipalNames()
Set
of String
names, representing group principals. However, note that this
implementation may change.public java.util.Collection getUserPrincipalNames()
Set
of String
names, representing user principals. However, note that this
implementation may change.public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |