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
public String[] getAllRegisteredApplication()
returns all the application supported by the repository.
public String[] getAllSSOUsers()
public SSOCredentialDescriptor[] getApplicationDescriptors(String iApplicationName)
returns all the descriptors defining a set of credentials for a given iApplicationName
public String getDefaultInstanceName(String iUser, String iApplicationName)
public String[] getUserApplicationInstances(String iUser, String iApplicationName)
returns all applicationInstanceName defined for a given iUser, for a given iApplicationName
public 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
public int init(String iServerName)
Called the first time the repository is going to be used
public int rollback()
Rollback any changes
public int save()
Called to persist any changes on the repository
public void setDefaultInstanceName(String iUser, String iApplicationName, String iInstanceName)
public 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
public void unsetUserCredentials(String iUser, String iApplicationName, String iInstanceName)
delete the instance iInstanceName of credential set for a given iuser for a given iApplicationName


Field Detail

Constructor Detail

Method Detail

getAllRegisteredApplication

    public String[] getAllRegisteredApplication()

returns all the application supported by the repository.

Return:
the application names

getAllSSOUsers

    public String[] getAllSSOUsers()

Return:
all SSO users known by the repository

getApplicationDescriptors

    public SSOCredentialDescriptor[] getApplicationDescriptors(String iApplicationName)

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

Parameters:
iApplicationName
: the application Name
Return:

getDefaultInstanceName

    public 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
Return:
the name of the default instance set of credentials for the given iUser and for the given iApplicationName

getUserApplicationInstances

    public 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
Return:

getUserCredentials

    public 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
Return:
the credentials

init

    public int init(String iServerName)

Called the first time the repository is going to be used

Parameters:
iServerName
Return:
0 if succesfull

rollback

    public int rollback()

Rollback any changes

Return:
0 if succesfull

save

    public int save()

Called to persist any changes on the repository

Return:
0 if succesfull

setDefaultInstanceName

    public 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

setUserCredentials

    public 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
Return:
: 0 if successfull

unsetUserCredentials

    public 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
Return:


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