|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Implementations of this interface know how to interact with the UserInformationService.
Tokens returned by this implementation have an service implementation specific lifespan. They expire and should not be kept around beyond that experation time. The default/usual lifespan is 30 minutes.
Method Summary | |
String |
registerUser(String username,
String password,
String firstName,
String lastName,
String companyName,
String address1,
String address2,
String address3,
String city,
String state,
String postalCode,
String country,
String phone,
String email,
String preferredLanguage,
String jobTitle,
boolean maySunContact,
boolean touAccepted,
boolean licenseAccepted,
String application)
registers a user's profile information and thier associated legal agreement acceptence with the UserInformationService. |
String |
registerUser(String username,
String password,
String firstName,
String lastName,
String companyName,
String address1,
String address2,
String address3,
String city,
String state,
String postalCode,
String country,
String phone,
String email,
String preferredLanguage,
String jobTitle,
boolean maySunContact,
String touAccepted,
String touVersion,
String touLanguageCode,
String touCountryCode,
String application)
registers a user's profile information and thier associated legal agreement acceptence with the UserInformationService. |
String |
registerUser(String username,
String password,
String firstName,
String lastName,
String companyName,
String address1,
String address2,
String address3,
String city,
String state,
String postalCode,
String country,
String phone,
String email,
String preferredLanguage,
String jobTitle,
boolean maySunContact,
String touAccepted,
String touVersion,
String touLanguageCode,
String touCountryCode,
String licenseAccepted,
String licenseVersion,
String licenseLanguageCode,
String licenseCountryCode,
String application)
registers a user's profile information and thier associated legal agreement acceptence with the UserInformationService. |
String |
validate(String username,
String password)
validates the given username and password with the UserInformationService. |
String |
validateAndAccept(String username,
String password,
boolean touAcceptedAndBL,
String application)
registers a user's profile information and thier associated legal agreement acceptence with the UserInformationService. |
String |
validateAndAccept(String username,
String password,
String touAccepted,
String touVersion,
String touLanguageCode,
String touCountryCode,
String licenseAccepted,
String licenseVersion,
String licenseLanguageCode,
String licenseCountryCode,
String application)
registers a user's profile information and thier associated legal agreement acceptence with the UserInformationService. |
Method Detail |
public String validate(String username, String password) throws RemoteException
username
- the identifier of the userpassword
- a shared secret
RemoteException
- if there is an error connecting
to the remote servicepublic String validateAndAccept(String username, String password, String touAccepted, String touVersion, String touLanguageCode, String touCountryCode, String licenseAccepted, String licenseVersion, String licenseLanguageCode, String licenseCountryCode, String application) throws RemoteException
username
- the identifier of the userpassword
- a shared secrettouVersion
- the version of the terms of use the user accepted
(for the SMI Terms Of Use use 2.0)touLanguageCode
- the language code identifying the language
the terms of use was presented in (e.g., 'en')touCountryCode
- the country code identifying a variant
of the language of the displayed terms of use. This is also
used to identify the country denoting the legal requirements
of the terms of use. (e.g., 'US')licenseAccepted
- the name of the license the user accepted
(for the SMI Terms Of Use use SMI_TOU)licenseVersion
- the version of the license the user accepted
(for the SMI Terms Of Use use 2.0)licenseLanguageCode
- the language code identifying the language
the license was presented in (e.g., 'en')licenseCountryCode
- the country code identifying a variant
of the language of the displayed license. This is also
used to identify the country denoting the legal requirements
of the license. (e.g., 'US')application
- the Name (or maybe UUID) of the application
This needs more clearification in the morning.
RemoteException
- if there is an error connecting
to the remote service
DuplicateAccountException
- if the given username
has already been used.public String validateAndAccept(String username, String password, boolean touAcceptedAndBL, String application) throws RemoteException
username
- the identifier of the userpassword
- a shared secretapplication
- the Name (or maybe UUID) of the application
This needs more clearification in the morning.
RemoteException
- if there is an error connecting
to the remote service
DuplicateAccountException
- if the given username
has already been used.public String registerUser(String username, String password, String firstName, String lastName, String companyName, String address1, String address2, String address3, String city, String state, String postalCode, String country, String phone, String email, String preferredLanguage, String jobTitle, boolean maySunContact, String touAccepted, String touVersion, String touLanguageCode, String touCountryCode, String application) throws RemoteException, DuplicateAccountException
username
- the identifier of the userpassword
- a shared secretcompanyName
- the name of the user's companyaddress1
- the first line of the user's addressaddress2
- the second line of the user's address
(currently ignored)address3
- the third line of the user's address
(currently ignored)city
- the city in which the user livesstate
- the state or province identifier in which
the city is locatedpostalCode
- a postal identifier for the user's addresscountry
- the name of the country encompassing the
state or provincephone
- a telephone number that could be used to reach
the user for sales callsemail
- an email address which sales solicitations could be sent topreferredLanguage
- the user's preferredLanguagejobTitle
- the job titlemaySunContact
- true if sun may contact this user (ignored)touAccepted
- the name of the terms of use the user accepted
(for the SMI Terms Of Use use SMI_TOU)touVersion
- the version of the terms of use the user accepted
(for the SMI Terms Of Use use 2.0)touLanguageCode
- the language code identifying the language
the terms of use was presented in (e.g., 'en')touCountryCode
- the country code identifying a variant
of the language of the displayed terms of use. This is also
used to identify the country denoting the legal requirements
of the terms of use. (e.g., 'US')application
- the Name (or maybe UUID) of the application
This needs more clearification in the morning.
RemoteException
- if there is an error connecting
to the remote service
DuplicateAccountException
- if the given username
has already been used.public String registerUser(String username, String password, String firstName, String lastName, String companyName, String address1, String address2, String address3, String city, String state, String postalCode, String country, String phone, String email, String preferredLanguage, String jobTitle, boolean maySunContact, String touAccepted, String touVersion, String touLanguageCode, String touCountryCode, String licenseAccepted, String licenseVersion, String licenseLanguageCode, String licenseCountryCode, String application) throws RemoteException, DuplicateAccountException
username
- the identifier of the userpassword
- a shared secretcompanyName
- the name of the user's companyaddress1
- the first line of the user's addressaddress2
- the second line of the user's address
(currently ignored)address3
- the third line of the user's address
(currently ignored)city
- the city in which the user livesstate
- the state or province identifier in which
the city is locatedpostalCode
- a postal identifier for the user's addresscountry
- the name of the country encompassing the
state or provincephone
- a telephone number that could be used to reach
the user for sales callsemail
- an email address which sales solicitations could be sent topreferredLanguage
- the user's preferredLanguagejobTitle
- the job titlemaySunContact
- true if sun may contact this user (ignored)touVersion
- the version of the terms of use the user accepted
(for the SMI Terms Of Use use 2.0)touLanguageCode
- the language code identifying the language
the terms of use was presented in (e.g., 'en')touCountryCode
- the country code identifying a variant
of the language of the displayed terms of use. This is also
used to identify the country denoting the legal requirements
of the terms of use. (e.g., 'US')licenseAccepted
- the name of the license the user accepted
(for the SMI Terms Of Use use SMI_TOU)licenseVersion
- the version of the license the user accepted
(for the SMI Terms Of Use use 2.0)licenseLanguageCode
- the language code identifying the language
the license was presented in (e.g., 'en')licenseCountryCode
- the country code identifying a variant
of the language of the displayed license. This is also
used to identify the country denoting the legal requirements
of the license. (e.g., 'US')application
- the Name (or maybe UUID) of the application
This needs more clearification in the morning.
RemoteException
- if there is an error connecting
to the remote service
DuplicateAccountException
- if the given username
has already been used.public String registerUser(String username, String password, String firstName, String lastName, String companyName, String address1, String address2, String address3, String city, String state, String postalCode, String country, String phone, String email, String preferredLanguage, String jobTitle, boolean maySunContact, boolean touAccepted, boolean licenseAccepted, String application) throws RemoteException, DuplicateAccountException
username
- the identifier of the userpassword
- a shared secretcompanyName
- the name of the user's companyaddress1
- the first line of the user's addressaddress2
- the second line of the user's address
(currently ignored)address3
- the third line of the user's address
(currently ignored)city
- the city in which the user livesstate
- the state or province identifier in which
the city is locatedpostalCode
- a postal identifier for the user's addresscountry
- the name of the country encompassing the
state or provincephone
- a telephone number that could be used to reach
the user for sales callsemail
- an email address which sales solicitations could be sent topreferredLanguage
- the user's preferredLanguagejobTitle
- the job titlemaySunContact
- true if sun may contact this user (ignored)touAccepted
- true if the user accepted the
SMI Terms Of Use version 2.0 in US_englishlicenseAccepted
- true if the user accepted the
SMI Binary License agreement version 1.0 in US_englishapplication
- the Name (or maybe UUID) of the application
This needs more clearification in the morning.
RemoteException
- if there is an error connecting
to the remote service
DuplicateAccountException
- if the given username
has already been used.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |