Package io.bdeploy.common.security
Class RemoteService
java.lang.Object
io.bdeploy.common.security.RemoteService
- All Implemented Interfaces:
Serializable
Represents data about a single known minion.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRemoteService(URI uri) Creates aRemoteServicewhich references a local directory as URI.RemoteService(URI uri, KeyStoreProvider provider) Creates a newRemoteServicewith the givenKeyStoreProvider.RemoteService(URI uri, String authPack) -
Method Summary
-
Constructor Details
-
RemoteService
Creates aRemoteServicewhich references a local directory as URI.- Parameters:
uri- a local URI (file, zip, ...) to fake a remote service for
-
RemoteService
- Parameters:
uri- theURIto the serviceauthPack- the authentication pack (token and certificate) used to access theRemoteService.
-
RemoteService
Creates a newRemoteServicewith the givenKeyStoreProvider.
-
-
Method Details
-
getKeyStore
- Returns:
- the provider for key material.
-
getUri
- Returns:
- the service URI
-
getAuthPack
- Returns:
- the security token
-
getWebSocketUri
- Returns:
- a URI which can be used to connect to WebSockets on the given remote, following the standard pattern
-
hashCode
@Generated("Eclipse") public int hashCode() -
equals
-