Package com.dassault_systemes.plmsecssoserver.plmsessosrvinterfaces

   
Interface SSOIServerRepository

 
Class Hierarchy
com.dassault_systemes.plmsecssoserver.plmsessosrvinterfaces.SSOIServerRepository
Class Location

Framework : PLMSecuritySSOServer

Module : PLMSecSSOSrvInterfaces

Class Description

public interface SSOIServerRepository

   All Implemented Interfaces:
DirectoryAccessInterface
Field Summary

Constructor Summary

Method Summary
int init(String iServerName)
int save()
int rollback()
String getDefaultInstanceName(String iUser, String iApplicationName)
void setDefaultInstanceName(String iUser, String iApplicationName, String iInstanceName)
SSOCredential[] getUserCredentials(String iUser, String iApplication, String iInstanceName)
int setUserCredentials(String iUser, String iApplication, String iInstanceName, SSOCredential[] iValues)
void unsetUserCredentials(String iUser, String iApplicationName, String iInstanceName)
String[] getAllRegisteredApplication()
SSOCredentialDescriptor[] getApplicationDescriptors(String iApplicationName)
String[] getUserApplicationInstances(String iUser, String iApplicationName)
String[] getAllSSOUsers()


Field Detail

Constructor Detail

Method Detail

init

    int init(String iServerName)

Called the first time the repository is going to be used

Parameters:
iServerName
Returns:
0 if succesfull

save

    int save()

Called to persist any changes on the repository

Returns:
0 if succesfull

rollback

    int rollback()

Rollback any changes

Returns:
0 if succesfull

getDefaultInstanceName

    String getDefaultInstanceName(String iUser, String iApplicationName)

Parameters:
iUser
: the Single Sign On username
iApplicationName
: the name of the application the user wants to get/set credentials
Returns:
the name of the default instance set of credentials for the given iUser and for the given iApplicationName

setDefaultInstanceName

    void setDefaultInstanceName(String iUser, String iApplicationName, String iInstanceName)

Parameters:
iUser
: the Single Sign On username
iApplicationName
: the name of the application the user wants to get/set credentials sets the name of the default instance set of credentials for the given iUser and for the given iApplicationName

getUserCredentials

    SSOCredential[] getUserCredentials(String iUser, String iApplication, String iInstanceName)

returns all the credentials for a given iUser, for a given iApplication and for a given InstanceName of set of credentials

Parameters:
iUser
: the Single Sign On username
iApplicationName
: the name of the application the user wants to get credentials
iInstanceName
: the name of the instance of the set of credentials the user wants to retrieve
Returns:
the credentials

setUserCredentials

    int setUserCredentials(String iUser, String iApplication, String iInstanceName, SSOCredential[] iValues)

set all the credentials for a given iUser, for a given iApplication and for a given InstanceName of set of credentials

Parameters:
iUser
: the Single Sign On username
iApplicationName
: the name of the application the user wants to get credentials
iInstanceName
: the name of the instance of the set of credentials the user wants to retrieve
iValues
: the credentials to be set
Returns:
: 0 if successfull

unsetUserCredentials

    void unsetUserCredentials(String iUser, String iApplicationName, String iInstanceName)

delete the instance iInstanceName of credential set for a given iuser for a given iApplicationName

Parameters:
iUser
: the sso username
iApplicationName
: the name of the application
Returns:

getAllRegisteredApplication

    String[] getAllRegisteredApplication()

returns all the application supported by the repository.

Returns:
the application names

getApplicationDescriptors

    SSOCredentialDescriptor[] getApplicationDescriptors(String iApplicationName)

returns all the descriptors defining a set of credentials for a given iApplicationName

Parameters:
iApplicationName
: the application Name
Returns:

getUserApplicationInstances

    String[] getUserApplicationInstances(String iUser, String iApplicationName)

returns all applicationInstanceName defined for a given iUser, for a given iApplicationName

Parameters:
iUser
: the sso username
iApplicationName
: the name of the application
Returns:

getAllSSOUsers

    String[] getAllSSOUsers()

Returns:
all SSO users known by the repository


Copyright © 2000, Dassault Systèmes. All rights reserved