Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369716 - Role-based Authorization Strategy doesn't work with Hudson3
Summary: Role-based Authorization Strategy doesn't work with Hudson3
Status: RESOLVED FIXED
Alias: None
Product: Hudson
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Winston Prakash CLA
QA Contact:
URL:
Whiteboard: regression
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-25 13:05 EST by Henrik Lynggaard Hansen CLA
Modified: 2013-04-03 20:26 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henrik Lynggaard Hansen CLA 2012-01-25 13:05:01 EST
Steps to reproduce
1. Install plugin (Role-based Authorization Strategy)
2. Enable security and select Role based strategy
3. Submit changes


Result:
Changes cannot be saved and the following exception is displayed:

java.lang.NoClassDefFoundError: org/acegisecurity/acls/sid/PrincipalSid
	at com.michelin.cio.hudson.plugins.rolestrategy.RoleBasedAuthorizationStrategy$DescriptorImpl.getCurrentUser(RoleBasedAuthorizationStrategy.java:476)
	at com.michelin.cio.hudson.plugins.rolestrategy.RoleBasedAuthorizationStrategy$DescriptorImpl.newInstance(RoleBasedAuthorizationStrategy.java:452)
	at com.michelin.cio.hudson.plugins.rolestrategy.RoleBasedAuthorizationStrategy$DescriptorImpl.newInstance(RoleBasedAuthorizationStrategy.java:314)
	at hudson.DescriptorExtensionList.newInstanceFromRadioList(DescriptorExtensionList.java:112)
	at hudson.DescriptorExtensionList.newInstanceFromRadioList(DescriptorExtensionList.java:116)
	at hudson.model.Hudson.doConfigSubmit(Hudson.java:2535)
Comment 1 Winston Prakash CLA 2012-04-11 21:15:51 EDT
Henrik, which version of Hudson this issue is happening? If it is 3.x then role-strategy plugin need to be fixed, since we longer support acegisecurity
Comment 2 Henrik Lynggaard Hansen CLA 2012-04-14 05:23:39 EDT
it is 3.0.0-M0 or 3.0.0-M0.1
Comment 3 Henrik Lynggaard Hansen CLA 2012-04-14 05:24:25 EDT
forgot to ask, is the needed plugin changes documented somewhere?
Comment 4 Winston Prakash CLA 2012-04-16 18:06:51 EDT
(In reply to comment #3)
Good question. Have not done that. I'll do that
Comment 5 Guillaume Helle CLA 2013-02-12 11:55:47 EST
Hello,

i have the same problem with the last version 3.0.0 upload today...
Perhaps it is a plugin problem and we must report the bug on the
Comment 6 Bob Foster CLA 2013-04-03 18:17:52 EDT
This should have been closed? See Bug 404794. Hudson 3.x version of plugin is role-strategy-1.1.3-h-2.
Comment 7 Winston Prakash CLA 2013-04-03 20:26:12 EDT
fixed already