Package com.documentum.fc.client

# Interface IDfPrincipalSupport

public interface IDfPrincipalSupport
An interface supported by classes that can establish sessions using principal-mode authentication. Principal-mode authentication is a form of authentication in which the caller has already established the validity of the user and therefore an explicit password verification is not needed.

Since:
  5.1
See Also:
  - `IDfClient.setPrincipalSupport(com.documentum.fc.client.IDfPrincipalSupport)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `IDfSession`
  `getSession(String docbaseName, String principalName)`
  Retrieves a session for a given principal and repository.

- ## Method Details

  - ### getSession

    IDfSession getSession(String docbaseName, String principalName) throws DfPrincipalException
    Retrieves a session for a given principal and repository.
    Parameters:
      `docbaseName` - name of the repository
      `principalName` - name of the principal
    Returns:
      session
    Throws:
      `DfPrincipalException` - Can't get a session for the given principal and repository