Task #5270 (closed)
Opened 13 years ago
Closed 13 years ago
Bug: Changing Password
Reported by: | jburel | Owned by: | atarkowska |
---|---|---|---|
Priority: | critical | Milestone: | OMERO-Beta4.3 |
Component: | WebAdmin | Version: | n.a. |
Keywords: | n.a. | Cc: | saloynton |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
- Login as Admin
- Change password of a newly created user
Traceback (most recent call last): File "/home/omero/OMERO.server-4.3.0-DEV-7d4ea4dd/lib/python/django/core/handlers/base.py", line 92, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/home/omero/OMERO.server-4.3.0-DEV-7d4ea4dd/lib/python/omeroweb/webadmin/views.py", line 229, in wrapped return f(request, *args, **kwargs) File "/home/omero/OMERO.server-4.3.0-DEV-7d4ea4dd/lib/python/omeroweb/webadmin/views.py", line 575, in manage_password conn.changeUserPassword(exp.omeName, password) File "/home/omero/OMERO.server-4.3.0-DEV-7d4ea4dd/lib/python/omeroweb/webclient/webclient_gateway.py", line 872, in changeUserPassword admin_serv.changeUserPassword(omeName, rstring(str(password))) File "/home/omero/OMERO.server-4.3.0-DEV-7d4ea4dd/lib/python/omero/gateway/__init__.py", line 2902, in wrapped return inner(*args, **kwargs) File "/home/omero/OMERO.server-4.3.0-DEV-7d4ea4dd/lib/python/omero/gateway/__init__.py", line 2859, in inner return f(*args, **kwargs) File "/home/omero/OMERO.server-4.3.0-DEV-7d4ea4dd/lib/python/omero_api_IAdmin_ice.py", line 363, in changeUserPassword return _M_omero.api.IAdmin._op_changeUserPassword.invoke(self, ((omeName, newPassword), _ctx)) SecurityViolation: exception ::omero::SecurityViolation { serverStackTrace = ome.conditions.SecurityViolation: Bad authentication credentials for this action. See setSecurityPassword for more information at ome.security.basic.BasicMethodSecurity.checkMethod(BasicMethodSecurity.java:130) at ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:78) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer.java:43) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy75.changeUserPassword(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java:179) at ome.services.throttling.Callback.run(Callback.java:56) at ome.services.throttling.InThreadThrottlingStrategy.callInvokerOnRawArgs(InThreadThrottlingStrategy.java:56) at ome.services.blitz.impl.AbstractAmdServant.callInvokerOnRawArgs(AbstractAmdServant.java:136) at ome.services.blitz.impl.AdminI.changeUserPassword_async(AdminI.java:154) at omero.api._IAdminTie.changeUserPassword_async(_IAdminTie.java:127) at omero.api._IAdminDisp.___changeUserPassword(_IAdminDisp.java:1300) at omero.api._IAdminDisp.__dispatch(_IAdminDisp.java:1511) at IceInternal.Incoming.invoke(Incoming.java:159) at Ice.ConnectionI.invokeAll(ConnectionI.java:2037) at Ice.ConnectionI.message(ConnectionI.java:972) at IceInternal.ThreadPool.run(ThreadPool.java:577) at IceInternal.ThreadPool.access$100(ThreadPool.java:12) at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:971) serverExceptionClass = ome.conditions.SecurityViolation message = Bad authentication credentials for this action. See setSecurityPassword for more information } <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'confirmation': [u'omero'], u'password': [u'omero']}>, COOKIES:{'sessionid': 'bb5d9c159a69ad6a63ab7a024802d8c3'}, META:{'CONTENT_LENGTH': '33', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'DOCUMENT_ROOT': '/var/www', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=bb5d9c159a69ad6a63ab7a024802d8c3', 'HTTP_HOST': 'gretzky.openmicroscopy.org.uk', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://gretzky.openmicroscopy.org.uk/webadmin/change_password/353/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.17) Gecko/20110420 Firefox/3.6.17', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/webadmin/change_password/353/', 'PATH_TRANSLATED': '/var/www/omero.fcgi/webadmin/change_password/353/', 'QUERY_STRING': '', 'REMOTE_ADDR': '78.146.189.94', 'REMOTE_PORT': '61133', 'REQUEST_METHOD': 'POST', 'REQUEST_URI': '/webadmin/change_password/353/', 'SCRIPT_FILENAME': '/var/www/omero.fcgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '134.36.65.227', 'SERVER_ADMIN': 'webmaster@localhost', 'SERVER_NAME': 'gretzky.openmicroscopy.org.uk', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.14 (Ubuntu) Server at gretzky.openmicroscopy.org.uk Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.14 (Ubuntu)', 'wsgi.errors': <flup.server.fcgi_base.TeeOutputStream object at 0x35e2750>, 'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x137b550>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
Change History (1)
comment:1 Changed 13 years ago by atarkowska
- Resolution set to invalid
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
server you were using is not up to date.