org.xwiki.crypto.internal
Interface UserDocumentUtils

All Known Implementing Classes:
DefaultUserDocumentUtils

@ComponentRole
public interface UserDocumentUtils

Means by which to get a string representation of the user page for the current user for inclusion in a certificate. This component has no cryptographic code.

Since:
2.5M1
Version:
$Id$

Method Summary
 java.lang.String getCurrentUser()
           
 java.lang.String getUserDocURL(java.lang.String userDocName)
          Get the external URL pointing to the given user document.
 

Method Detail

getCurrentUser

java.lang.String getCurrentUser()
Returns:
The fully qualified name of the current user's document eg: xwiki:XWiki.JohnSmith.

getUserDocURL

java.lang.String getUserDocURL(java.lang.String userDocName)
Get the external URL pointing to the given user document.

Parameters:
userDocName - the string representation of the document reference for the user document.
Returns:
A string representation of the external URL for the user doc.


Copyright © 2004-2011 XWiki. All Rights Reserved.