1 16 17 package org.apache.jetspeed.services.security; 18 19 import org.apache.turbine.services.Service; 20 21 import org.apache.jetspeed.om.security.JetspeedUser; 22 23 32 33 public interface CredentialsManagement extends Service 34 { 35 public String SERVICE_NAME = "CredentialsManagement"; 36 37 48 void changePassword( JetspeedUser user, 49 String oldPassword, 50 String newPassword ) 51 throws JetspeedSecurityException; 52 53 68 void forcePassword( JetspeedUser user, String password ) 69 throws JetspeedSecurityException; 70 71 72 84 String encryptPassword( String password ) 85 throws JetspeedSecurityException; 86 87 } 88 89 | Popular Tags |