Interface SecretProvider
public interface SecretProvider
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteSecret(long companyId, String secretIdentifier) com.liferay.portal.security.key.secret.SecretgetSecretIdentifiers(long companyId) booleanisAllowedCompany(long companyId) voidputSecret(long companyId, com.liferay.portal.security.key.secret.Secret secret)
-
Method Details
-
deleteSecret
void deleteSecret(long companyId, String secretIdentifier) throws com.liferay.portal.security.key.secret.exception.SecretException - Throws:
com.liferay.portal.security.key.secret.exception.SecretException
-
getProviderStatus
ProviderStatus getProviderStatus() -
getSecret
com.liferay.portal.security.key.secret.Secret getSecret(long companyId, String secretIdentifier) throws com.liferay.portal.security.key.secret.exception.SecretException - Throws:
com.liferay.portal.security.key.secret.exception.SecretException
-
getSecretIdentifiers
List<String> getSecretIdentifiers(long companyId) throws com.liferay.portal.security.key.secret.exception.SecretException - Throws:
com.liferay.portal.security.key.secret.exception.SecretException
-
isAllowedCompany
boolean isAllowedCompany(long companyId) -
putSecret
void putSecret(long companyId, com.liferay.portal.security.key.secret.Secret secret) throws com.liferay.portal.security.key.secret.exception.SecretException - Throws:
com.liferay.portal.security.key.secret.exception.SecretException
-