( (BindingProvider) userRoleWebService ).getRequestContext().put( BindingProvider.USERNAME_PROPERTY, "admin" );
( (BindingProvider) userRoleWebService ).getRequestContext().put( BindingProvider.PASSWORD_PROPERTY, "password" );
// accept cookies to maintain session on server
( (BindingProvider) userRoleWebService ).getRequestContext().put( BindingProvider.SESSION_MAINTAIN_PROPERTY, true );
UserRoleSecurityInfo info = userRoleWebService.getUserRoleSecurityInfo();
// should be Authenticated
System.out.println( info.getDefaultRoles().get( 0 ) );
}