|
|||||||||||||||||||
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
GuestUserCertifier.java | - | 0% | 0% | 0% |
|
1 |
/*
|
|
2 |
* Joey and its relative products are published under the terms
|
|
3 |
* of the Apache Software License.
|
|
4 |
*/
|
|
5 |
/*
|
|
6 |
* Created on 2004/01/12
|
|
7 |
*/
|
|
8 |
package org.asyrinx.brownie.core.user;
|
|
9 |
|
|
10 |
/**
|
|
11 |
* @author akima
|
|
12 |
*/
|
|
13 |
public class GuestUserCertifier implements IUserCertifier { |
|
14 |
|
|
15 |
/**
|
|
16 |
*
|
|
17 |
*/
|
|
18 | 0 |
public GuestUserCertifier() {
|
19 | 0 |
super();
|
20 |
} |
|
21 |
|
|
22 |
/**
|
|
23 |
* @see org.asyrinx.brownie.core.user.IUserCertifier#canLogin(org.asyrinx.brownie.core.user.IUser)
|
|
24 |
*/
|
|
25 | 0 |
public IUser canLogin(String userId, String password) {
|
26 | 0 |
final GuestUser guestUser = new GuestUser();
|
27 | 0 |
guestUser.setUserId(userId); |
28 | 0 |
return guestUser;
|
29 |
} |
|
30 |
|
|
31 |
} |
|