org.eclipse.stardust.engine.core.spi.security
Class ExternalUserConfiguration

java.lang.Object
  extended by org.eclipse.stardust.engine.core.spi.security.ExternalUserConfiguration

public abstract class ExternalUserConfiguration
extends Object


Nested Class Summary
static class ExternalUserConfiguration.GrantInfo
           
 
Constructor Summary
ExternalUserConfiguration()
           
 
Method Summary
abstract  String getDescription()
          Gets the description of the external user.
abstract  String getEMail()
          Gets the email address of the external user.
abstract  String getFirstName()
          Gets the first name of the external user.
 Collection getGrantedModelParticipants()
          Deprecated. use getModelParticipantsGrants() instead which is able to cope with scoped grants
abstract  String getLastName()
          Gets the last name of the external user.
 Set<ExternalUserConfiguration.GrantInfo> getModelParticipantsGrants()
          Gets the set of participants the external user has grants for.
abstract  Map getProperties()
          Gets custom properties of the external user.
 Map<String,String> getSessionTokens()
          Gets the Session Tokens for the external user.
 Collection getUserGroupMemberships()
          Gets the list of user groups the external user is member of.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalUserConfiguration

public ExternalUserConfiguration()
Method Detail

getSessionTokens

public Map<String,String> getSessionTokens()
Gets the Session Tokens for the external user.

Returns:
Key/Value pairs.

getFirstName

public abstract String getFirstName()
Gets the first name of the external user.

Returns:
The first name.

getLastName

public abstract String getLastName()
Gets the last name of the external user.

Returns:
The last name.

getEMail

public abstract String getEMail()
Gets the email address of the external user.

Returns:
The email address.

getDescription

public abstract String getDescription()
Gets the description of the external user.

Returns:
The description.

getProperties

public abstract Map getProperties()
Gets custom properties of the external user.

Returns:
The set of property (name, value) pairs.

getGrantedModelParticipants

@Deprecated
public Collection getGrantedModelParticipants()
Deprecated. use getModelParticipantsGrants() instead which is able to cope with scoped grants

Gets the list of participants the external user has grants for.

Returns:
A collection with IDs of the granted model participants.

getUserGroupMemberships

public Collection getUserGroupMemberships()
Gets the list of user groups the external user is member of.

The default implementation returns an empty list.

Returns:
A collection with IDs of the user groups the user is member of.

getModelParticipantsGrants

public Set<ExternalUserConfiguration.GrantInfo> getModelParticipantsGrants()
Gets the set of participants the external user has grants for.

Returns:
A set with IDs of the granted model participants.


Copyright © 2017 Eclipse Stardust. All Rights Reserved.