Interface PasswordPolicyFactory
-
- All Known Implementing Classes:
ITIMPasswordPolicyFactoryImpl
public interface PasswordPolicyFactoryFactory for password policy service object family.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconfigure()Configure this factory.PasswordPolicyServicenewPasswordPolicyService()Factory method for PasswordPolicyService instances.PasswordPolicyServicenewPasswordPolicyService(PolicyServiceConnection conn)Factory method for PasswordPolicyService instances.PolicyServiceConnectionnewPolicyServiceConnection()Factory method for connection objects.PolicyServiceConnectionnewPolicyServiceConnection(java.net.URL url)Factory method for connection objects.PolicyServiceRequestnewPolicyServiceRequest(PolicyServiceMessage.ServiceOp op)Factory method for request objects.PolicyServiceResponsenewPolicyServiceResponse(PolicyServiceRequest req)Factory method for response objects.
-
-
-
Method Detail
-
configure
void configure() throws PolicyInitializationExceptionConfigure this factory.- Throws:
PolicyInitializationException- if required property names are missing or values are not valid.
-
newPasswordPolicyService
PasswordPolicyService newPasswordPolicyService() throws PolicyConnectionException
Factory method for PasswordPolicyService instances.- Returns:
- new PasswordPolicyService instance.
- Throws:
PolicyConnectionException- if underlying connection cannot be created.java.lang.IllegalStateException- if not configured.
-
newPasswordPolicyService
PasswordPolicyService newPasswordPolicyService(PolicyServiceConnection conn)
Factory method for PasswordPolicyService instances.- Parameters:
conn- The conn to the policy service provider. Stored config is ignored if using this overload.- Returns:
- new PasswordPolicyService instance.
- Throws:
java.lang.IllegalArgumentException- if conn is null.java.lang.IllegalStateException- if not configured.
-
newPolicyServiceRequest
PolicyServiceRequest newPolicyServiceRequest(PolicyServiceMessage.ServiceOp op)
Factory method for request objects.- Parameters:
op- The opeation type.- Returns:
- a new request object.
- Throws:
java.lang.IllegalStateException- if not configured.
-
newPolicyServiceResponse
PolicyServiceResponse newPolicyServiceResponse(PolicyServiceRequest req)
Factory method for response objects.- Parameters:
req- The original request.- Returns:
- new response object instance.
- Throws:
java.lang.IllegalStateException- if not configured.
-
newPolicyServiceConnection
PolicyServiceConnection newPolicyServiceConnection() throws PolicyConnectionException
Factory method for connection objects.- Returns:
- new connection based on stored configuration.
- Throws:
PolicyConnectionExceptionjava.lang.IllegalStateException- if not configured.
-
newPolicyServiceConnection
PolicyServiceConnection newPolicyServiceConnection(java.net.URL url) throws PolicyConnectionException
Factory method for connection objects.- Parameters:
url- The url- Returns:
- new connection based on URL. Stored config is ignored if this overload is used.
- Throws:
PolicyConnectionExceptionjava.lang.IllegalArgumentException- if url is null.java.lang.IllegalStateException- if not configured.
-
-