Class IdentityStoreService
- java.lang.Object
-
- fr.paris.lutece.plugins.identitystore.old.common.IdentityStoreService
-
public class IdentityStoreService extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static fr.paris.lutece.plugins.identitystore.business.security.SecureModegetSecureMode()Get the secure Mode of the identitystorestatic java.lang.StringgetTrustedClientCode(java.lang.String strHeaderClientCode, java.lang.String strParamClientCode)Get the application code to use.static java.lang.StringgetTrustedClientCode(java.lang.String strHeaderClientCode, java.lang.String strParamClientCode, java.lang.String strHeaderAppCode)Get the application code to use.
If thestrHeaderAppCodeis provided, the correlation between the resulting trusted client code and this application code is verified.
-
-
-
Method Detail
-
getTrustedClientCode
public static java.lang.String getTrustedClientCode(java.lang.String strHeaderClientCode, java.lang.String strParamClientCode) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionGet the application code to use.- Parameters:
strHeaderClientCode- The application code in HTTP request headerstrParamClientCode- The application code provided by the client- Returns:
- The application code to use
- Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-
getTrustedClientCode
public static java.lang.String getTrustedClientCode(java.lang.String strHeaderClientCode, java.lang.String strParamClientCode, java.lang.String strHeaderAppCode) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionGet the application code to use.
If thestrHeaderAppCodeis provided, the correlation between the resulting trusted client code and this application code is verified.- Parameters:
strHeaderClientCode- The application code in HTTP request headerstrParamClientCode- The application code provided by the clientstrHeaderAppCode- The application code header provided by the API manager- Returns:
- The application code to use
- Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException- if the correlation between the resulting trusted client code and the application code was not verified- See Also:
verifyClientAndAppCodeCorrelation(java.lang.String, java.lang.String)
-
getSecureMode
public static fr.paris.lutece.plugins.identitystore.business.security.SecureMode getSecureMode()
Get the secure Mode of the identitystore- Returns:
- the secure mode
-
-