Class AccessControl
- java.lang.Object
-
- com.yahoo.vespa.model.container.http.AccessControl
-
public final class AccessControl extends java.lang.Object
Helper class for http access control.- Author:
- gjoranv, bjorncs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AccessControl.Builder
-
Field Summary
Fields Modifier and Type Field Description static com.yahoo.component.ComponentId
ACCESS_CONTROL_CHAIN_ID
java.lang.String
domain
boolean
readEnabled
static java.util.List<java.lang.String>
UNPROTECTED_HANDLERS
boolean
writeEnabled
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Binding>
getBindings()
static boolean
hasHandlerThatNeedsProtection(ApplicationContainerCluster cluster)
-
-
-
Field Detail
-
ACCESS_CONTROL_CHAIN_ID
public static final com.yahoo.component.ComponentId ACCESS_CONTROL_CHAIN_ID
-
UNPROTECTED_HANDLERS
public static final java.util.List<java.lang.String> UNPROTECTED_HANDLERS
-
domain
public final java.lang.String domain
-
readEnabled
public final boolean readEnabled
-
writeEnabled
public final boolean writeEnabled
-
-
Method Detail
-
getBindings
public java.util.List<Binding> getBindings()
-
hasHandlerThatNeedsProtection
public static boolean hasHandlerThatNeedsProtection(ApplicationContainerCluster cluster)
-
-