@ProviderType
public class PasswordPolicyServiceUtil
extends Object
PasswordPolicyServiceImpl
and is the
primary access point for service operations in application layer code running
on a remote server. Methods of this service are expected to have security
checks based on the propagated JAAS credentials because this service can be
accessed remotely.PasswordPolicyService
,
PasswordPolicyServiceBaseImpl
,
PasswordPolicyServiceImpl
Constructor and Description |
---|
PasswordPolicyServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static 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) |
static void |
deletePasswordPolicy(long passwordPolicyId) |
static PasswordPolicy |
fetchPasswordPolicy(long passwordPolicyId) |
static String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static PasswordPolicyService |
getService() |
static List<PasswordPolicy> |
search(long companyId,
String name,
int start,
int end,
OrderByComparator<PasswordPolicy> obc) |
static int |
searchCount(long companyId,
String name) |
static 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) |
public static 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
PortalException
public static void deletePasswordPolicy(long passwordPolicyId) throws PortalException
PortalException
public static PasswordPolicy fetchPasswordPolicy(long passwordPolicyId) throws PortalException
PortalException
public static String getOSGiServiceIdentifier()
public static List<PasswordPolicy> search(long companyId, String name, int start, int end, OrderByComparator<PasswordPolicy> obc)
public static int searchCount(long companyId, String name)
public static 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
PortalException
public static PasswordPolicyService getService()