- add
void add(string principal, string realmName)
Undocumented in source. Be warned that the author may not have intended to support it.
- add
void add(Object principal, string realmName)
Undocumented in source. Be warned that the author may not have intended to support it.
- addAll
void addAll(Collection!Object principals, string realmName)
Undocumented in source. Be warned that the author may not have intended to support it.
- addAll
void addAll(PrincipalCollection principals)
Undocumented in source. Be warned that the author may not have intended to support it.
- asList
List!Object asList()
Undocumented in source. Be warned that the author may not have intended to support it.
- asSet
Set!Object asSet()
Undocumented in source. Be warned that the author may not have intended to support it.
- byType
Collection!(T) byType()
Undocumented in source. Be warned that the author may not have intended to support it.
- clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
- fromRealm
Object[] fromRealm(string realmName)
Undocumented in source. Be warned that the author may not have intended to support it.
- getPrimaryPrincipal
Object getPrimaryPrincipal()
Returns the first available principal from any of the {@code Realm} principals, or {@code null} if there are
no principals yet.
<p/>
The 'first available principal' is interpreted as the principal that would be returned by
<code>{@link #iterator() iterator()}.{@link java.util.Iterator#next() next()}.</code>
- getPrincipalsLazy
Collection!Object getPrincipalsLazy(string realmName)
Undocumented in source. Be warned that the author may not have intended to support it.
- getRealmNames
string[] getRealmNames()
Undocumented in source. Be warned that the author may not have intended to support it.
- isEmpty
bool isEmpty()
Undocumented in source. Be warned that the author may not have intended to support it.
- oneByType
T oneByType()
Undocumented in source. Be warned that the author may not have intended to support it.
- opApply
int opApply(int delegate(ref Object) dg)
Serialization read support - reads in the Map principals collection if it exists in the
input stream.
<p/>
NOTE: Don't forget to change the serialVersionUID constant at the top of this class
if you make any backwards-incompatible serialization changes!!!
(use the JDK 'serialver' program for this)
- opEquals
bool opEquals(Object o)
Undocumented in source. Be warned that the author may not have intended to support it.
- toHash
size_t toHash()
Undocumented in source. Be warned that the author may not have intended to support it.
- toString
string toString()
Returns a simple string representation suitable for printing.
A simple implementation of the {@link MutablePrincipalCollection} interface that tracks principals internally by storing them in a {@link LinkedHashMap}.