UAA required configuration #cf


williamnguyen167@...
 

I'm trying to build UAA on localhost (Window 10 Home)
After running command "$ ./gradlew run"
And finished (I think so) execute at 97%
I running command: 
"$ curl -H "Accept: application/json" localhost:8080/uaa/login
{
  "timestamp":"2012-03-28T18:25:49+0100",
  "commit_id":"111274e",
  "prompts":{"username":["text","Username"],
    "password":["password","Password"]
  }
}"
Server return "FAILURE"
Take a look at log file
The exception threw as: "Invalid bean definition with name 'activeKeyService' defined in class path resource [spring/login-ui.xml]: Could not resolve placeholder 'encryption.active_key_label' in value "${encryption.active_key_label}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'encryption.active_key_label' in value "${encryption.active_key_label}"
How can I fix this problem?


Dr Nic Williams <drnicwilliams@...>
 

Try adding this encryption: section https://github.com/starkandwayne/quick-uaa-deployment-cf/blob/master/src/uaa.yml#L8

 


From: 30051024040n behalf of
Sent: Wednesday, August 22, 2018 6:02 pm
To: cf-dev@...
Subject: [cf-dev] UAA required configuration #cf
 
I'm trying to build UAA on localhost (Window 10 Home)
After running command "$ ./gradlew run"
And finished (I think so) execute at 97%
I running command: 
"$ curl -H "Accept: application/json" localhost:8080/uaa/login
{
  "timestamp":"2012-03-28T18:25:49+0100",
  "commit_id":"111274e",
  "prompts":{"username":["text","Username"],
    "password":["password","Password"]
  }
}"
Server return "FAILURE"
Take a look at log file
The exception threw as: "Invalid bean definition with name 'activeKeyService' defined in class path resource [spring/login-ui.xml]: Could not resolve placeholder 'encryption.active_key_label' in value "${encryption.active_key_label}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'encryption.active_key_label' in value "${encryption.active_key_label}"
How can I fix this problem?


williamnguyen167@...
 

Thank you for your reply.
I have fixed this problem by adding encryption into uaa.yml
Still having another exception but uncommment the SAML key configuration will solve it.