> + * @return the host for this user
> + * @see User.Builder#host(String)
> + */
> + public String getHost() {
> + return this.host;
> + }
> +
> + /**
> + * @return a unique identifier for this user. In most cases, this is just
> the name. If the user is restricted to connections from a specific host, the
> hostname must be appended to the user name with a "@"
> + */
> + public String getIdentifier() {
> + if(host==null || "%".equals(host))
> + return name;
> + else
> + return name + "@" + host;
> + }
Just a style thing, but `if...else...` clauses above seem to use curly braces?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/5/files#r4773317