XCC/J 3.2-9

com.marklogic.xcc
Interface UserCredentials


public interface UserCredentials

This interface encapsulates a user identity. It is intended primarily for internal use.


Method Summary
 String getUserName()
          The user name associated with this credential object.
 String toHttpBasicAuth()
          Returns an HTTP basic authentication string, suitable for use as the value of an HTTP Authentication header.
 

Method Detail

getUserName

public String getUserName()
The user name associated with this credential object.

Returns:
The user name as a String.

toHttpBasicAuth

public String toHttpBasicAuth()
Returns an HTTP basic authentication string, suitable for use as the value of an HTTP Authentication header.

Returns:
An HTTP basic authentication header value.

XCC/J 3.2-9

Copyright © 2003-2008 Mark Logic Corporation, All Rights Reserved.

Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com