Authenticating within the Client
Bing in Epicor.Mfg.Core.Session.dll
add using Epicor.Mfg.Core;
Then to test authentication on a button of sorts,, you get the idea I hope
if you need more details let me know
try
{
Session _session = new
Session(userTextField,PasswordTexField,"AppServerDC://yourServer:9001",Session.LicenseType.Default);
EpiMessageBox.Show("Logged In");
}
catch(Exception ex)
{
EpiMessageBox.Show("Bad Password");
}
*Jose C Gomez*
*Software Engineer*
*
*T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com
<http://www.linkedin.com/in/josecgomez> <http://www.facebook.com/josegomez>
<http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
<http://www.josecgomez.com> <http://www.josecgomez.com/feed/>
*Quis custodiet ipsos custodes?*
On Fri, Nov 19, 2010 at 1:54 PM, Brian W. Spolarich <
bspolarich@...> wrote:
Bing in Epicor.Mfg.Core.Session.dll
add using Epicor.Mfg.Core;
Then to test authentication on a button of sorts,, you get the idea I hope
if you need more details let me know
try
{
Session _session = new
Session(userTextField,PasswordTexField,"AppServerDC://yourServer:9001",Session.LicenseType.Default);
EpiMessageBox.Show("Logged In");
}
catch(Exception ex)
{
EpiMessageBox.Show("Bad Password");
}
*Jose C Gomez*
*Software Engineer*
*
*T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com
<http://www.linkedin.com/in/josecgomez> <http://www.facebook.com/josegomez>
<http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
<http://www.josecgomez.com> <http://www.josecgomez.com/feed/>
*Quis custodiet ipsos custodes?*
On Fri, Nov 19, 2010 at 1:54 PM, Brian W. Spolarich <
bspolarich@...> wrote:
>[Non-text portions of this message have been removed]
>
> From a BPM, you'd have to be able to do something in 4GL that would
> perform the hashing function that Epicor uses to generate their
> passwords in userfile, and compare the hash of your user-supplied input
> to the value in userfile.password.
>
> Not sure how you would do that.
>
> A better route might be to write some custom code for the client that
> would require the user to establish a new Vantage session. I've seen
> some code tossed around the group that does that, but I can't find it in
> my stash of stuff I've kept. But the idea would be if the user can
> establish a session, then they must have supplied the correct password.
> You'd close the session immediately (and consume the Vantage license for
> a brief amount of time).
>
> Not sure about password masking in the EpiTextBox control, either.
>
> -bws
>
> -----Original Message-----
> From: vantage@yahoogroups.com <vantage%40yahoogroups.com> [mailto:
> vantage@yahoogroups.com <vantage%40yahoogroups.com>] On Behalf
> Of CarlH
> Sent: Friday, November 19, 2010 9:34 AM
> To: vantage@yahoogroups.com <vantage%40yahoogroups.com>
> Subject: [Vantage] Password valiation in a BPM
>
> Our quality auditors want to have reconfirmation of a user passwoird on
> certain transactions to be sure that the user who is entering the
> transaction is the user who is loggeed in.
>
> Does anybody know of a BPM that can confirm a user password? Or some
> other technique for this?
>
> ------------------------------------
>
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
> have already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder
> and Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
>
>