01: /*
02: * ====================================================================
03: * Copyright (c) 2004-2008 TMate Software Ltd. All rights reserved.
04: *
05: * This software is licensed as described in the file COPYING, which
06: * you should have received as part of this distribution. The terms
07: * are also available at http://svnkit.com/license.html
08: * If newer versions of this license are posted there, you may use a
09: * newer version instead, at your option.
10: * ====================================================================
11: */
12: package org.tmatesoft.svn.core.auth;
13:
14: /**
15: * The <b>SVNUserNameAuthentication</b> class represents a simple
16: * authentication credential class that uses only a username to
17: * authenticate a user. Used along with the
18: * {@link ISVNAuthenticationManager#USERNAME} credential kind.
19: *
20: * @version 1.1.1
21: * @author TMate Software Ltd.
22: */
23: public class SVNUserNameAuthentication extends SVNAuthentication {
24: /**
25: * Creates a username authentication credential.
26: *
27: * @param userName a user name
28: * @param storageAllowed if <span class="javakeyword">true</span> then
29: * this credential is allowed to be stored in the
30: * global auth cache, otherwise not
31: */
32: public SVNUserNameAuthentication(String userName,
33: boolean storageAllowed) {
34: super(ISVNAuthenticationManager.USERNAME, userName,
35: storageAllowed);
36: }
37: }
|