You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
1.2 KiB
Java

package org.gcube.portlets.admin.systemservicedefinition.util;
import java.io.Serializable;
/**
*
* @author Giancarlo Panichi
*
*/
public class UserCredentials implements Serializable {
private static final long serialVersionUID = -3020343255604840519L;
private long userId;
private String username;
private String currentScope;
public UserCredentials() {
super();
}
public UserCredentials(long userId, String username, String currentScope) {
super();
this.userId = userId;
this.username = username;
this.currentScope = currentScope;
}
public long getUserId() {
return userId;
}
public void setUserId(long userId) {
this.userId = userId;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getCurrentScope() {
return currentScope;
}
public void setCurrentScope(String currentScope) {
this.currentScope = currentScope;
}
public static long getSerialversionuid() {
return serialVersionUID;
}
@Override
public String toString() {
return "UserCredentials [userId=" + userId + ", username=" + username + ", currentScope=" + currentScope + "]";
}
}