Class DockerAccess
- java.lang.Object
-
- org.keycloak.representations.docker.DockerAccess
-
public class DockerAccess extends Object
Per the docker auth v2 spec, access is defined like this: { "type": "repository", "name": "samalba/my-app", "actions": [ "push", "pull" ] }
-
-
Field Summary
Fields Modifier and Type Field Description static int
ACCESS_TYPE
protected List<String>
actions
static String
DECODE_ENCODING
protected String
name
static int
PERMISSIONS
static int
REPOSITORY_NAME
protected String
type
-
Constructor Summary
Constructors Constructor Description DockerAccess()
DockerAccess(String scopeParam)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
List<String>
getActions()
String
getName()
String
getType()
int
hashCode()
DockerAccess
setActions(List<String> actions)
DockerAccess
setName(String name)
DockerAccess
setType(String type)
String
toString()
-
-
-
Field Detail
-
ACCESS_TYPE
public static final int ACCESS_TYPE
- See Also:
- Constant Field Values
-
REPOSITORY_NAME
public static final int REPOSITORY_NAME
- See Also:
- Constant Field Values
-
PERMISSIONS
public static final int PERMISSIONS
- See Also:
- Constant Field Values
-
DECODE_ENCODING
public static final String DECODE_ENCODING
- See Also:
- Constant Field Values
-
type
protected String type
-
name
protected String name
-
-
Constructor Detail
-
DockerAccess
public DockerAccess()
-
DockerAccess
public DockerAccess(String scopeParam)
-
-
Method Detail
-
getType
public String getType()
-
setType
public DockerAccess setType(String type)
-
getName
public String getName()
-
setName
public DockerAccess setName(String name)
-
setActions
public DockerAccess setActions(List<String> actions)
-
-