Overview | Package | Class | Tree | Deprecated | Index | Help
| XCC/J 4.2-9
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.
`String` | `toHttpDigestAuth(String method, String uri, String challengeHeader)` Returns an HTTP digest authentication string.

Method Detail

### getUserName

    String getUserName()

  The user name associated with this credential object.

  Returns:
    The user name as a String.

### toHttpBasicAuth

    String toHttpBasicAuth()

  Returns an HTTP basic authentication string.

  Returns:
    An HTTP basic authentication header value.

### toHttpDigestAuth

    String toHttpDigestAuth(String method,
                            String uri,
                            String challengeHeader)

  Returns an HTTP digest authentication string.

  Returns:
    An HTTP digest authentication header value.

Overview | Package | Class | Tree | Deprecated | Index | Help
| XCC/J 4.2-9
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 MarkLogic Corporation, All Rights Reserved.

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