SimplePrincipalMap

Default implementation of the {@link PrincipalMap} interface.

*EXPERIMENTAL for Shiro 1.2 - DO NOT USE YET*

@author Les Hazlewood

Constructors

this
this()
Undocumented in source.
this
this(Map!(string, Map!(string, Object)) backingMap)
Undocumented in source.

Members

Functions

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.
byKey
InputRange!string byKey()
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.
byValue
InputRange!Object byValue()
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.
containsKey
bool containsKey(string o)
Undocumented in source. Be warned that the author may not have intended to support it.
containsValue
bool containsValue(Object o)
Undocumented in source. Be warned that the author may not have intended to support it.
ensureCombinedPrincipals
Map!(string, Object) ensureCombinedPrincipals()
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.
get
Object get(string o)
Undocumented in source. Be warned that the author may not have intended to support it.
getPrimaryPrincipal
Object getPrimaryPrincipal()
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.
getRealmPrincipal
Object getRealmPrincipal(string realmName, string principalName)
Undocumented in source. Be warned that the author may not have intended to support it.
getRealmPrincipals
Map!(string, Object) getRealmPrincipals(string name)
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)
Undocumented in source. Be warned that the author may not have intended to support it.
opApply
int opApply(int delegate(ref string, ref Object) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
opApply
int opApply(int delegate(MapEntry!(string, Object) entry) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(Object o)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(IObject o)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
Object opIndex(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
put
Object put(string s, Object o)
Undocumented in source. Be warned that the author may not have intended to support it.
putAll
void putAll(Map!(string, Object) map)
Undocumented in source. Be warned that the author may not have intended to support it.
putIfAbsent
Object putIfAbsent(string key, Object value)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
Object remove(string o)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
bool remove(string key, Object value)
Undocumented in source. Be warned that the author may not have intended to support it.
removeRealmPrincipal
Object removeRealmPrincipal(string realmName, string principalName)
Undocumented in source. Be warned that the author may not have intended to support it.
replace
bool replace(string key, Object oldValue, Object newValue)
Undocumented in source. Be warned that the author may not have intended to support it.
replace
Object replace(string key, Object value)
Undocumented in source. Be warned that the author may not have intended to support it.
setRealmPrincipal
Object setRealmPrincipal(string realmName, string principalName, Object principal)
Undocumented in source. Be warned that the author may not have intended to support it.
setRealmPrincipals
Map!(string, Object) setRealmPrincipals(string realmName, Map!(string, Object) principals)
Undocumented in source. Be warned that the author may not have intended to support it.
size
int size()
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()
Undocumented in source. Be warned that the author may not have intended to support it.
values
Object[] values()
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin CloneMemberTemplate!(typeof(this))
Undocumented in source.

Inherited Members

From PrincipalMap

getRealmPrincipals
Map!(string, Object) getRealmPrincipals(string realmName)
Undocumented in source.
setRealmPrincipals
Map!(string, Object) setRealmPrincipals(string realmName, Map!(string, Object) principals)
Undocumented in source.
setRealmPrincipal
Object setRealmPrincipal(string realmName, string principalName, Object principal)
Undocumented in source.
getRealmPrincipal
Object getRealmPrincipal(string realmName, string realmPrincipal)
Undocumented in source.
removeRealmPrincipal
Object removeRealmPrincipal(string realmName, string principalName)
Undocumented in source.

Meta