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
ConstructorsConstructorDescriptionStaticOrderedAuthenticatingRealms(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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
iteratorin interfaceCollection<org.apache.shiro.realm.Realm>- Specified by:
iteratorin interfaceIterable<org.apache.shiro.realm.Realm>- Specified by:
iteratorin classAbstractCollection<org.apache.shiro.realm.Realm>
-
size
public int size()- Specified by:
sizein interfaceCollection<org.apache.shiro.realm.Realm>- Specified by:
sizein classAbstractCollection<org.apache.shiro.realm.Realm>
-
getRootAccountRealm
- Specified by:
getRootAccountRealmin interfaceOrderedAuthenticatingRealms
-