public String changePassword( KerberosPrincipal principal, String newPassword ) throws Exception
{
try
{
return ( String ) execute( directoryService.getSession(), new ChangePassword( principal, newPassword ) );
}
catch ( NamingException ne )
{
String message = I18n.err( I18n.ERR_625, principal.getRealm() );
throw new ServiceConfigurationException( message, ne );