View Javadoc
1   package org.kuali.common.devops.model;
2   
3   public enum Users {
4   
5   	EC2USER("ec2-user"), // Default ssh enabled user created by default on Amazon Linux based images
6   	TOMCAT("tomcat"), // The user tomcat runs as
7   	ROOT("root", "/root"); // The root user
8   
9   	private final User user;
10  
11  	private Users(String login) {
12  		this.user = new User.Builder(login).build();
13  	}
14  
15  	private Users(String login, String home) {
16  		this.user = new User.Builder(login).home(home).build();
17  	}
18  
19  	public User getUser() {
20  		return user;
21  	}
22  
23  }