hi freeman,
> Would you please append your whole testcase?
> Is Authentication class defined as para or return type for your SEI?
the interface is defined as follows:
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import org.acegisecurity.Authentication;
public interface IAuthService
{
@WebMethod
@WebResult( name="authenticated" )
public boolean authenticate( @WebParam(name="sid") String sid,
@WebParam(name="uid") String username, @WebParam(name="pwd") String password );
@WebMethod
@WebResult( name="authentication" )
public Authentication getAuthentication( @WebParam(name="sid") String sid );
@WebMethod
@WebResult( name="roles" )
public Set<String> getRoles( @WebParam(name="sid") String sid );
}
Authentication is an interface which extends Principal and Serializable.
I'm using the CXFServlet, so it might be that I have to configure AegisBinding
on the Servlet-side (client is set to Aegis), but the documentation doesn't say
how.
Best regards, --- Jan.