Questions tagged [authorizationservices]

8 questions
4
votes
3 answers

How can I debug a 'Default Membership Provider could not be found' error with WCF and a Custom ASP.NET membership provider?

This is problem for me with .Net 3.5 SP1 running on IIS7.5 64 bit (I tried forcing 32 bit but got the same result). I have a WCF service that I want to use authentication-services with. When I have no behavior the WCF service paints (replies)…
JTew
  • 3,149
  • 3
  • 31
  • 39
3
votes
1 answer

Reassigning Parent PID

Possible Duplicate: process re-parenting: controlling who is the new parent I'm writing a small tool to help me launch my helper tools (because AuthorizationExecuteWithPrivilages is horrifying to use) but when I do fork()/execve() in my…
Aditya Vaidyam
  • 6,259
  • 3
  • 24
  • 26
3
votes
0 answers

Managing Json Web Key Set in the cluster environment

I have implemented an authorization server (spring boot application) using the spring security framework. In the application startup, the RSA key pair is generated and the Json Web Key Set (jwks) is also initialized with a public key. This public…
3
votes
2 answers

I can't run more than 100 processes

I have a massive number of shell commands being executed with root/admin priveleges through Authorization Services' "AuthorizationExecuteWithPrivileges" call. The issue is that after a while (10-15 seconds, maybe 100 shell commands) the program…
indragie
  • 18,002
  • 16
  • 95
  • 164
2
votes
1 answer

How to perform privileged operation like Finder using FileManager?

After launching Xcode I select File / New / Project / macOS / Command Line Tool / Next and run the following code: import SecurityFoundation do { // Authorize for privileged operations guard let authorization =…
Vadim
  • 9,383
  • 7
  • 36
  • 58
2
votes
1 answer

Showing Password Prompt Only Once - How to?

I'm building an Cocoa application that modifies a file on the user's operating system which requires admin permission. I have a proof of concept working which uses authopen but it doesn't deliver the UX experience I am hoping to achieve. Every time…
Dustin Senos
  • 243
  • 1
  • 9
1
vote
0 answers

Pass user data to HelperTool with BetterAuthorizationSampleLib(BAS) in Mac OS X?

I found that there is "userData" filed in BASCommandSpec in BAS library: struct BASCommandSpec { const char * commandName; const char * rightName; const char * rightDefaultRule; const char * rightDescriptionKey; const…
andrey.s
  • 789
  • 10
  • 28
1
vote
1 answer

Store global token in Cache

I have a module which in the AuthorizationServiceEventHandler Checking or Complete Events i'm sending a request to an external API which gives me some instructions like what modules should be enabled/displayed to the user . The appraoch i want to…
buff
  • 331
  • 2
  • 13