com.liferay.portal.service
Interface PasswordPolicyService
- All Superinterfaces:
- BaseService
- All Known Implementing Classes:
- PasswordPolicyServiceBaseImpl, PasswordPolicyServiceImpl, PasswordPolicyServiceWrapper
@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface PasswordPolicyService- extends BaseService
Provides the remote service interface for PasswordPolicy. Methods of this
service are expected to have security checks based on the propagated JAAS
credentials because this service can be accessed remotely.
- See Also:
PasswordPolicyServiceUtil,
PasswordPolicyServiceBaseImpl,
PasswordPolicyServiceImpl- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.
|
Method Summary |
PasswordPolicy |
addPasswordPolicy(String name,
String description,
boolean changeable,
boolean changeRequired,
long minAge,
boolean checkSyntax,
boolean allowDictionaryWords,
int minAlphanumeric,
int minLength,
int minLowerCase,
int minNumbers,
int minSymbols,
int minUpperCase,
String regex,
boolean history,
int historyCount,
boolean expireable,
long maxAge,
long warningTime,
int graceLimit,
boolean lockout,
int maxFailure,
long lockoutDuration,
long resetFailureCount,
long resetTicketMaxAge,
ServiceContext serviceContext)
|
void |
deletePasswordPolicy(long passwordPolicyId)
|
PasswordPolicy |
fetchPasswordPolicy(long passwordPolicyId)
|
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier. |
PasswordPolicy |
updatePasswordPolicy(long passwordPolicyId,
String name,
String description,
boolean changeable,
boolean changeRequired,
long minAge,
boolean checkSyntax,
boolean allowDictionaryWords,
int minAlphanumeric,
int minLength,
int minLowerCase,
int minNumbers,
int minSymbols,
int minUpperCase,
String regex,
boolean history,
int historyCount,
boolean expireable,
long maxAge,
long warningTime,
int graceLimit,
boolean lockout,
int maxFailure,
long lockoutDuration,
long resetFailureCount,
long resetTicketMaxAge,
ServiceContext serviceContext)
|
addPasswordPolicy
PasswordPolicy addPasswordPolicy(String name,
String description,
boolean changeable,
boolean changeRequired,
long minAge,
boolean checkSyntax,
boolean allowDictionaryWords,
int minAlphanumeric,
int minLength,
int minLowerCase,
int minNumbers,
int minSymbols,
int minUpperCase,
String regex,
boolean history,
int historyCount,
boolean expireable,
long maxAge,
long warningTime,
int graceLimit,
boolean lockout,
int maxFailure,
long lockoutDuration,
long resetFailureCount,
long resetTicketMaxAge,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
deletePasswordPolicy
void deletePasswordPolicy(long passwordPolicyId)
throws PortalException
- Throws:
PortalException
fetchPasswordPolicy
@Transactional(propagation=SUPPORTS,
readOnly=true)
PasswordPolicy fetchPasswordPolicy(long passwordPolicyId)
throws PortalException
- Throws:
PortalException
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()
- Returns the OSGi service identifier.
- Returns:
- the OSGi service identifier
updatePasswordPolicy
PasswordPolicy updatePasswordPolicy(long passwordPolicyId,
String name,
String description,
boolean changeable,
boolean changeRequired,
long minAge,
boolean checkSyntax,
boolean allowDictionaryWords,
int minAlphanumeric,
int minLength,
int minLowerCase,
int minNumbers,
int minSymbols,
int minUpperCase,
String regex,
boolean history,
int historyCount,
boolean expireable,
long maxAge,
long warningTime,
int graceLimit,
boolean lockout,
int maxFailure,
long lockoutDuration,
long resetFailureCount,
long resetTicketMaxAge,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException