Package org.graylog2.security
Class StaticOrderedAuthenticatingRealms
java.lang.Object
java.util.AbstractCollection<org.apache.shiro.realm.Realm>
org.graylog2.security.StaticOrderedAuthenticatingRealms
- All Implemented Interfaces:
Iterable<org.apache.shiro.realm.Realm>
,Collection<org.apache.shiro.realm.Realm>
,OrderedAuthenticatingRealms
@Singleton
public class StaticOrderedAuthenticatingRealms
extends AbstractCollection<org.apache.shiro.realm.Realm>
implements OrderedAuthenticatingRealms
Statically ordered collection of Shiro AuthenticatingRealms.
-
Constructor Summary
ConstructorDescriptionStaticOrderedAuthenticatingRealms
(Map<String, org.apache.shiro.realm.AuthenticatingRealm> realms) -
Method Summary
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, parallelStream, remove, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArray, toArray
-
Constructor Details
-
StaticOrderedAuthenticatingRealms
-
-
Method Details
-
iterator
- Specified by:
iterator
in interfaceCollection<org.apache.shiro.realm.Realm>
- Specified by:
iterator
in interfaceIterable<org.apache.shiro.realm.Realm>
- Specified by:
iterator
in classAbstractCollection<org.apache.shiro.realm.Realm>
-
size
public int size()- Specified by:
size
in interfaceCollection<org.apache.shiro.realm.Realm>
- Specified by:
size
in classAbstractCollection<org.apache.shiro.realm.Realm>
-
getRootAccountRealm
- Specified by:
getRootAccountRealm
in interfaceOrderedAuthenticatingRealms
-