Class DiversificationService
- java.lang.Object
-
- fr.paris.lutece.util.keydiversification.DiversificationService
-
public final class DiversificationService extends Object
This service manages the keys for Identity Providers (IDP) and Service Providers (SP)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetIDPKey(String strSPKey, String strSP)Converts the specified SP key into the IDP keystatic StringgetSPKey(String strIDPKey, String strSP)Converts the specified IDP key into a key usable by the SP
-
-
-
Method Detail
-
getSPKey
public static String getSPKey(String strIDPKey, String strSP) throws KeyDiversificationException
Converts the specified IDP key into a key usable by the SP- Parameters:
strIDPKey- the IDP key to convertsstrSP- the SP using the key- Returns:
- the key usable by the SP
- Throws:
KeyDiversificationException- if there is an error during the treatment
-
getIDPKey
public static String getIDPKey(String strSPKey, String strSP) throws KeyDiversificationException
Converts the specified SP key into the IDP key- Parameters:
strSPKey- the key used by the SPstrSP- the SP using the key- Returns:
- the IDP key
- Throws:
KeyDiversificationException- if there is an error during the treatment
-
-