public abstract class ExternalUserAuthentication extends Object implements Serializable
This class represents external authentication details to a user. The systemId defines the system this id belongs to.
Modifier and Type | Class and Description |
---|---|
static class |
ExternalUserAuthentication.Factory
Constructs new instances of
ExternalUserAuthentication . |
Constructor and Description |
---|
ExternalUserAuthentication() |
Modifier and Type | Method and Description |
---|---|
String |
attributesToString()
Builds a string showing the current attribute values
|
boolean |
equals(Object object)
Returns
true if the argument is an ExternalUserAuthentication instance and all
identifiers for this entity equal the identifiers of the argument entity. |
String |
getAdditionalProperty()
an optional member holding some additional data for the user.
|
String |
getExternalUserId()
Contains the user id of a external authentication system.
|
Long |
getId() |
String |
getPermanentId()
optional attribute that represents a unique identifier of the user in the external repository
whose value never changes.
|
String |
getSystemId()
Identifier of the external system (e.g.
|
int |
hashCode()
Returns a hash code based on this entity's identifiers.
|
void |
setAdditionalProperty(String additionalProperty) |
void |
setExternalUserId(String externalUserId) |
void |
setId(Long id) |
void |
setPermanentId(String permanentId) |
void |
setSystemId(String systemId) |
public String attributesToString()
public boolean equals(Object object)
true
if the argument is an ExternalUserAuthentication instance and all
identifiers for this entity equal the identifiers of the argument entity. Returns
false
otherwise.public String getAdditionalProperty()
an optional member holding some additional data for the user. The interpretation depends on the external system. For LDAP it would hold the DN for example.
public String getExternalUserId()
Contains the user id of a external authentication system. This is typically the login of the user for the external system.
public Long getId()
public String getPermanentId()
optional attribute that represents a unique identifier of the user in the external repository whose value never changes. This allows handling a change of the externalUserId. This member can be null because not all external systems provide such an attribute.
public String getSystemId()
Identifier of the external system (e.g. Confluence XYZ).
public int hashCode()
public void setAdditionalProperty(String additionalProperty)
public void setExternalUserId(String externalUserId)
public void setId(Long id)
public void setPermanentId(String permanentId)
public void setSystemId(String systemId)
Copyright © 2019 Communote team. All rights reserved.