Sunday, May 12, 2013

WebCenter Imaging: Tip of the Day - grant permissions to domain credentials


It's been a while since the last post, so I wanted to put out a quick fix tip.

If you redeploy any of your ear files, let's say the imaging.ear in this example, you may lose access to your domain credential store.

You may see an error similar to this:

java.security.AccessControlException: access denied ("oracle.security.jps.service.credstore.CredentialAccess.security,keyName=ipmkey" "read")



To remedy this, try the following:


  1. Launch wlst.sh from the ECM home: <middleware_home>/Oracle_ECM1/common/bin/wlst.sh
  2. Connect to admin server: connect() (enter username, password and t3 uri to admin server)
  3. View the current credential: listCred(map='oracle.wsm.security',key='ipmkey')
  4. Grant the permissions: grantPermission(codeBaseURL="file:${domain.home}/servers/${weblogic.Name}/tmp/_WL_user/imaging/-", permClass="oracle.security.jps.service.credstore.CredentialAccessPermission", permTarget="context=SYSTEM,mapName=oracle.wsm.security,keyName=*",permActions="*")


Hope this helps!
-ryan







8 comments:

  1. What then does it mean to be an educator? Does it signify something different than the assigned job title? What I have learned through my work in higher education is that becoming an educator is not an automatic process. Everyone who is teaching adult students is not functioning as an engaging and highly effective educator. However, it is possible to learn how to educate rather than teach and that requires making a commitment to the profession.http://www.writingdesk.pw/

    ReplyDelete
  2. You should follow this weblink for some tips and useful info on how to write cover letter for your engineering school. Good luck

    ReplyDelete
  3. Hello It’s really a nice and helpful piece of info. I am happy that you shared this helpful info with us. Please stay us informed like this. Thank you for sharing. bye
    Tangki Panel
    Tangki Fiberglass
    Jual Septic Tank

    ReplyDelete




  4. Thankyou for the valuable information.iam very interested with this one.
    looking forward for more like this.

    ac market




    ReplyDelete
  5. In my opinion this is the best paper writer! I can confidently say that you will not regret if you contact these guys! all have a nice day and good luck!

    ReplyDelete
  6. I completely resolved my question when I read this post, thanks to the author for the very detailed description. I wrote my review on the https://paperwritingservices.reviews/, you can go in and read. Thank you very much for your attention in your time.

    ReplyDelete
  7. Web Center Imaging: Tip of the Day - grant permissions to domain credentials is really very authentic and creative services available like if you recently heard about the new Malaysian car in Pakistan price and seriously, this is very beneficial to performing that.

    ReplyDelete
  8. It offers an extensive game library with over 400 games on offer https://trueblue-casino.net/, including the latest releases from top software developers such as NetEnt and Microgaming. At present, they have around 40 pokies available to play for free or real money.

    ReplyDelete