doing some remote command with API, setup user right with " Auth Mgr Security Domain Admin"
but always have this error when trying to remove USER ALIAS
setting up with Superadmin solve this. can't find the right attribute to set in order to avoid being superadmin !!
regards
2016-11-24 13:01:23,296, [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'], (CommandServerEngine.java:452), trace.com.rsa.command.CommandServerEngine, DEBUG, tlstrsa8p.fra
nce.airfrance.fr,,,,Command Exception: com.rsa.command.exception.InsufficientPrivilegeException: Insufficient privilege exception: no permission for DELETE LOGONALIAS
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:119)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:514)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:519)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:232)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:694)
at com.rsa.command.CommandServerEjb30_vraifm_CommandServerEjb30Impl_WLSkel.invoke(Unknown Source)
at com.rsa.command.CommandServerEjb30_vraifm_CommandServerEjb30Impl.executeCommand(Unknown Source)
at com.rsa.command.CommandServerBean.executeCommand(CommandServerBean.java:89)
at com.rsa.command.CommandServerEngine.executeCommand(CommandServerEngine.java:373)
at com.rsa.command.CommandServerEngine.executeCommand(CommandServerEngine.java:445)
at com.rsa.ims.security.spi.SimpleSecurityContextImpl.doAs(SimpleSecurityContextImpl.java:113)
at com.rsa.command.CommandServerEngine$CommandExecutor.run(CommandServerEngine.java:1)
at com.rsa.ims.command.LocalTransactionalCommandTarget.executeCommand(LocalTransactionalCommandTarget.java:260)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
at com.rsa.ims.command.LocalTransactionalCommandTarget$2.doInTransaction(LocalTransactionalCommandTarget.java:1)
at com.rsa.ims.command.LocalTransactionalCommandTarget$2.doInTransaction(LocalTransactionalCommandTarget.java:268)
at com.rsa.ims.command.LocalTransactionalCommandTarget.access$0(LocalTransactionalCommandTarget.java:1)
at com.rsa.command.LocalTarget.executeCommand(LocalTarget.java:121)
at com.rsa.authmgr.admin.principalmgt.DeleteAMPrincipalsCommand.performExecute(DeleteAMPrincipalsCommand.java:80)
at com.rsa.authmgr.admin.principalmgt.DeleteAMPrincipalsCommand$Executive.execute(DeleteAMPrincipalsCommand.java:8)
at com.sun.proxy.$Proxy127.delete(Unknown Source)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at com.sun.proxy.$Proxy126.delete(Unknown Source)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at com.rsa.authmgr.internal.admin.principalmgt.impl.AMPrincipalAdministrationImpl.delete(AMPrincipalAdministrationImpl.java:402)
at com.rsa.authmgr.internal.admin.principalmgt.impl.AMPrincipalAdministrationImpl.a(AMPrincipalAdministrationImpl.java:639)
at com.rsa.authmgr.internal.admin.principalmgt.impl.AMPrincipalAdministrationImpl.b(AMPrincipalAdministrationImpl.java:394)
com.rsa.common.InsufficientPrivilegeException: Insufficient privilege exception: no permission for DELETE LOGONALIAS