[cf-dev] UAA required configuration #cf

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[cf-dev] 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?
_._,_._,_

Links:

You receive all messages sent to this group.

View/Reply Online (#8227) | [hidden email] | [hidden email] | Mute This Topic | New Topic
Mute #cf
Your Subscription | [hidden email] | Unsubscribe [[hidden email]]

_._,_._,_
Reply | Threaded
Open this post in threaded view
|

Re: [cf-dev] UAA required configuration #cf

Dr Nic Williams
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: [hidden email]
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?
_._,_._,_

Links:

You receive all messages sent to this group.

View/Reply Online (#8228) | [hidden email] | [hidden email] | Mute This Topic | New Topic
Mute #cf
Your Subscription | [hidden email] | Unsubscribe [[hidden email]]

_._,_._,_
Reply | Threaded
Open this post in threaded view
|

Re: [cf-dev] UAA required configuration #cf

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.
_._,_._,_

Links:

You receive all messages sent to this group.

View/Reply Online (#8233) | [hidden email] | [hidden email] | Mute This Topic | New Topic
Mute #cf
Your Subscription | [hidden email] | Unsubscribe [[hidden email]]

_._,_._,_