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 intACCESS_TYPEprotected List<String>actionsstatic StringDECODE_ENCODINGprotected Stringnamestatic intPERMISSIONSstatic intREPOSITORY_NAMEprotected Stringtype
-
Constructor Summary
Constructors Constructor Description DockerAccess()DockerAccess(String scopeParam)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)List<String>getActions()StringgetName()StringgetType()inthashCode()DockerAccesssetActions(List<String> actions)DockerAccesssetName(String name)DockerAccesssetType(String type)StringtoString()
-
-
-
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)
-
-