public class AuthCmdImpl extends AbstrAuthCfgDockerCmd<AuthCmd,AuthResponse> implements AuthCmd
AuthCmd.Exec
execution
Constructor and Description |
---|
AuthCmdImpl(AuthCmd.Exec exec,
AuthConfig authConfig) |
Modifier and Type | Method and Description |
---|---|
AuthResponse |
exec() |
getAuthConfig, withAuthConfig
close, registryAuth, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAuthConfig, withAuthConfig
public AuthCmdImpl(AuthCmd.Exec exec, AuthConfig authConfig)
public AuthResponse exec() throws UnauthorizedException
exec
in interface AuthCmd
exec
in interface SyncDockerCmd<AuthResponse>
exec
in class AbstrDockerCmd<AuthCmd,AuthResponse>
UnauthorizedException
- If you're not authorised (e.g. bad password).Copyright © 2017. All Rights Reserved.