*/
@Produces
@Secret
public String getSecret() {
User user = (User) identity.getAccount();
Attribute<String> secret = user.getAttribute(IDM_SECRET_ATTRIBUTE);
if (secret == null) {
secret = new Attribute<String>(IDM_SECRET_ATTRIBUTE, Base32.random());
user.setAttribute(secret);
this.identityManager.update(user);
}
return secret.getValue();
}