org.apache.james.mailbox
Interface MailboxSession.User

Enclosing interface:
MailboxSession

public static interface MailboxSession.User

A mailbox user. Useful for specialist mailbox implementation.


Method Summary
 java.util.List<java.util.Locale> getLocalePreferences()
          Gets acceptable localisation for this user in preference order.
 java.lang.String getPassword()
          Return the Password for the logged in user
 java.lang.String getUserName()
          Gets the name of the user.
 

Method Detail

getUserName

java.lang.String getUserName()
Gets the name of the user.

Returns:
not null

getPassword

java.lang.String getPassword()
Return the Password for the logged in user

Returns:
password

getLocalePreferences

java.util.List<java.util.Locale> getLocalePreferences()
Gets acceptable localisation for this user in preference order. When localising a phrase, each Locale should be tried in order until an appropriate translation is obtained.

Returns:
not null, when empty the default local should be used


Copyright © 2002-2010 The Apache Software Foundation. All Rights Reserved.