Project

General

Profile

« Previous | Next » 

Revision 3be6ef3e

Added by Niels Hoffmann over 13 years ago

performed javacscript:fix and worked on documentation

View differences:

taxeditor-store/src/main/java/eu/etaxonomy/taxeditor/store/LoginManager.java
19 19
import eu.etaxonomy.cdm.model.common.User;
20 20

  
21 21
/**
22
 * <p>LoginManager class.</p>
23
 *
22 24
 * @author n.hoffmann
23 25
 * @created 03.07.2009
24 26
 * @version 1.0
......
26 28
public class LoginManager extends Observable{
27 29
	
28 30
	/**
29
	 * @param token
31
	 * <p>authenticate</p>
32
	 *
33
	 * @param token a {@link org.springframework.security.authentication.UsernamePasswordAuthenticationToken} object.
30 34
	 */
31 35
	public void authenticate(UsernamePasswordAuthenticationToken token){
32 36
		Authentication authentication = CdmStore.getAuthenticationManager().authenticate(token);
......
37 41
	}
38 42
	
39 43
	/**
40
	 * 
41
	 * @return
44
	 * <p>getAuthenticatedUser</p>
45
	 *
46
	 * @return a {@link eu.etaxonomy.cdm.model.common.User} object.
42 47
	 */
43 48
	public User getAuthenticatedUser(){
44 49
		Authentication authentication = SecurityContextHolder.getContext().getAuthentication();

Also available in: Unified diff