Spring Framework SimpleHttpInvokerRequestExecutor - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Spring Framework SimpleHttpInvokerRequestExecutor class.

This code example shows how to use the following methods:
 * authentication information for service invocations. 
 * </p> 
 * 
 * @author Joel Kozikowski 
 */ 
public class AuthenticatingHttpInvokerRequestExecutor 
	extends SimpleHttpInvokerRequestExecutor {
 
	public String getPassword() {
		return _password;
	} 
 
	public long getUserId() { 
		return _userId;
	} 
 
	public void setPassword(String password) throws PwdEncryptorException {
		_password = PasswordEncryptorUtil.encrypt(password);
	} 
 
5
CodeRank
Connect your IDE to all the code out there  Get Codota for Java
This code example shows how to use the following methods:
 * Adds BASIC authentication support to <code>SimpleHttpInvokerRequestExecutor</code>. 
 * 
 * @author Ben Alex 
 * @author Rob Winch 
 */ 
public class AuthenticationSimpleHttpInvokerRequestExecutor extends SimpleHttpInvokerRequestExecutor {
    //~ Static fields/initializers ===================================================================================== 
 
    private static final Log logger = LogFactory.getLog(AuthenticationSimpleHttpInvokerRequestExecutor.class);
 
    //~ Instance fields ================================================================================================ 
 
    private AuthenticationTrustResolver trustResolver = new AuthenticationTrustResolverImpl();
 
    //~ Methods ======================================================================================================== 
 
    /** 
     * Provided so subclasses can perform additional configuration if required (eg set additional request 
     * headers for non-security related information etc). 
     * 
5
CodeRank
Connect your IDE to all the code out there  Get Codota for Java
This code example shows how to use the following methods:
	private Authentication authentication;
 
	/** 
	 * Constructor. 
	 */ 
	public BasicAuthHttpInvokerRequestExecutor() { 
	} 
 
	/* 
	 * (non-Javadoc) 
	 *  
	 * @see org.springframework.richclient.security.AuthenticationAware# 
	 * setAuthenticationToken(org.springframework.security.Authentication) 
	 */ 
	public void setAuthenticationToken(Authentication authentication) {
		this.authentication = authentication;
	} 
 
	/** 
	 * Get the Authentication object for the current user, if any. 
4
CodeRank
Connect your IDE to all the code out there  Get Codota for Java