Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #5841 (closed)

Opened 13 years ago

Closed 13 years ago

Bug: bin/omero user password fails

Reported by: jamoore Owned by: jamoore
Priority: critical Milestone: OMERO-Beta4.3
Component: General Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2011-06-16 (14)

Description

Please enter password to be set: 
Please re-enter password to be set: 
Traceback (most recent call last):
  File "/homes/jmoore/git/dist/bin/omero", line 123, in <module>
    rv = omero.cli.argv()
  File "/homes/jmoore/git/dist/lib/python/omero/cli.py", line 1170, in argv
    cli.invoke(args[1:])
  File "/homes/jmoore/git/dist/lib/python/omero/cli.py", line 720, in invoke
    stop = self.onecmd(line, previous_args)
  File "/homes/jmoore/git/dist/lib/python/omero/cli.py", line 789, in onecmd
    self.execute(line, previous_args)
  File "/homes/jmoore/git/dist/lib/python/omero/cli.py", line 869, in execute
    args.func(args)
  File "/homes/jmoore/git/dist/lib/python/omero/plugins/user.py", line 100, in password
    admin.changeUserPassword(args.username, pw)
  File "/homes/jmoore/git/dist/lib/python/omero_api_IAdmin_ice.py", line 363, in changeUserPassword
    return _M_omero.api.IAdmin._op_changeUserPassword.invoke(self, ((omeName, newPassword), _ctx))
omero.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(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	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
}

Change History (3)

comment:1 Changed 13 years ago by jmoore

  • Remaining Time set to 0.1
  • Status changed from new to accepted

comment:2 Changed 13 years ago by jmoore

New sequence is:

~/git/dist $ bin/omero user password jmoore
Using session 5aad64be-60ea-47ba-86bf-26a6632f9d3e (root@localhost:4064). Idle timeout: 600.0 min. Current group: system
Please enter password for your user (root): 
Verified password.

Changing password for jmoore
Please enter password to be set: 
Please re-enter password to be set: 
Password changed

comment:3 Changed 13 years ago by jmoore <josh@…>

  • Remaining Time changed from 0.1 to 0
  • Resolution set to fixed
  • Status changed from accepted to closed

(In [d12e924916c6299bfccb1b5962e0b8228d7e4b13/ome.git] on branch develop) Call setSecurityPassword on omero user password (See #3202, Fix #5841)

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.66303 sec.)

We're Hiring!