public abstract class AbstractEndpoint extends Object implements EndpointInstance
Modifier and Type | Field and Description |
---|---|
protected List<AuthenticationFlow> |
authenticationFlows |
protected pl.edu.icm.unity.types.endpoint.ResolvedEndpoint |
description |
protected Properties |
properties |
Constructor and Description |
---|
AbstractEndpoint() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Stops the endpoint.
|
List<AuthenticationFlow> |
getAuthenticationFlows() |
pl.edu.icm.unity.types.endpoint.ResolvedEndpoint |
getEndpointDescription() |
String |
getSerializedConfiguration() |
void |
initialize(pl.edu.icm.unity.types.endpoint.ResolvedEndpoint description,
List<AuthenticationFlow> authenticators,
String serializedConfiguration) |
protected void |
setAuthenticators(List<AuthenticationFlow> authenticationFlows) |
protected abstract void |
setSerializedConfiguration(String serializedState) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
start, updateAuthenticationFlows
protected pl.edu.icm.unity.types.endpoint.ResolvedEndpoint description
protected List<AuthenticationFlow> authenticationFlows
protected Properties properties
public void initialize(pl.edu.icm.unity.types.endpoint.ResolvedEndpoint description, List<AuthenticationFlow> authenticators, String serializedConfiguration)
initialize
in interface EndpointInstance
description
- most of the endpoint's settingsauthenticators
- authenticator instances for the endpoint.serializedConfiguration
- endpoint specific configuration
(as returned by EndpointInstance.getSerializedConfiguration()
.public String getSerializedConfiguration()
getSerializedConfiguration
in interface EndpointInstance
protected abstract void setSerializedConfiguration(String serializedState)
public pl.edu.icm.unity.types.endpoint.ResolvedEndpoint getEndpointDescription()
getEndpointDescription
in interface EndpointInstance
public void destroy() throws pl.edu.icm.unity.exceptions.EngineException
EndpointInstance
destroy
in interface EndpointInstance
pl.edu.icm.unity.exceptions.EngineException
public List<AuthenticationFlow> getAuthenticationFlows()
getAuthenticationFlows
in interface EndpointInstance
protected void setAuthenticators(List<AuthenticationFlow> authenticationFlows)
Copyright © 2019 Unity. All rights reserved.