user manager now returns a description key to be able to customize label on ui side
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1413019 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f0b5140e1a
commit
4f810483e5
@ -212,4 +212,10 @@ User updateUser( User user, boolean passwordChangeRequired )
|
||||
* @return true if this implementation is a final one and not a wrapper (configurable, cached)
|
||||
*/
|
||||
boolean isFinalImplementation();
|
||||
|
||||
/**
|
||||
* @since 2.1
|
||||
* @return a key to be able to customize label in UI
|
||||
*/
|
||||
String getDescriptionKey();
|
||||
}
|
||||
|
@ -328,4 +328,9 @@ public boolean isFinalImplementation()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public String getDescriptionKey()
|
||||
{
|
||||
return "archiva.redback.usermanager.cached";
|
||||
}
|
||||
}
|
||||
|
@ -182,4 +182,9 @@ public void setUserManagerImpl( UserManager userManagerImpl )
|
||||
{
|
||||
this.userManagerImpl = userManagerImpl;
|
||||
}
|
||||
|
||||
public String getDescriptionKey()
|
||||
{
|
||||
return "archiva.redback.usermanager.configurable";
|
||||
}
|
||||
}
|
||||
|
@ -490,4 +490,9 @@ public boolean isFinalImplementation()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public String getDescriptionKey()
|
||||
{
|
||||
return "archiva.redback.usermanager.jdo";
|
||||
}
|
||||
}
|
||||
|
@ -505,4 +505,9 @@ public boolean isFinalImplementation()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public String getDescriptionKey()
|
||||
{
|
||||
return "archiva.redback.usermanager.ldap";
|
||||
}
|
||||
}
|
||||
|
@ -314,4 +314,9 @@ public void triggerInit()
|
||||
hasTriggeredInit = true;
|
||||
}
|
||||
}
|
||||
|
||||
public String getDescriptionKey()
|
||||
{
|
||||
return "archiva.redback.usermanager.memory";
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user