// Path: src/main/java/org/wmaop/aop/advice/Scope.java
// public enum Scope {
// 	ALL, GLOBAL, SESSION, USER;
// }
// 
// Path: src/main/java/org/wmaop/aop/advice/Scope.java
// public enum Scope {
// 	ALL, GLOBAL, SESSION, USER;
// }


import static org.wmaop.aop.advice.Scope.*;
import org.wmaop.aop.advice.Scope;
import com.wm.app.b2b.server.InvokeState;
import com.wm.app.b2b.server.User;
package org.wmaop.aop.advice.remit;




public class UserRemit implements Remit {

	public static final String DEFAULT_USERNAME = "Default";
	
	private String username;

	public UserRemit() {
		this.username = getCurrentUsername();
	}

	public UserRemit(String username) {
		this.username = username;
	}
	
	public String getUsername() {
		return username;
	}
	
	@Override
	public boolean isApplicable() {
		return username.equals(getCurrentUsername());
	}

	@Override
// Path: src/main/java/org/wmaop/aop/advice/Scope.java
// public enum Scope {
// 	ALL, GLOBAL, SESSION, USER;
// }
// 
// Path: src/main/java/org/wmaop/aop/advice/Scope.java
// public enum Scope {
// 	ALL, GLOBAL, SESSION, USER;
// }


// Path: src/main/java/org/wmaop/aop/advice/remit/UserRemit.java
import static org.wmaop.aop.advice.Scope.*;
import org.wmaop.aop.advice.Scope;
import com.wm.app.b2b.server.InvokeState;
import com.wm.app.b2b.server.User;

package org.wmaop.aop.advice.remit;




public class UserRemit implements Remit {

	public static final String DEFAULT_USERNAME = "Default";
	
	private String username;

	public UserRemit() {
		this.username = getCurrentUsername();
	}

	public UserRemit(String username) {
		this.username = username;
	}
	
	public String getUsername() {
		return username;
	}
	
	@Override
	public boolean isApplicable() {
		return username.equals(getCurrentUsername());
	}

	@Override
	public boolean isApplicable(Scope scope) {