Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Posts: 26
Registered: ‎07-25-2012
My Device: 9800
My Carrier: xyz

Security for user credential


Hey guys,

                  i have  question 

          usecase : In my current application i am storing user credential into persistant storage area  so next time if he launch application it will direct redirect to the home page. but to store the user credential in persistant storage is not secure. is there any way to make more secure user credential in blackberry ??? like in andriod accontmanager 

please share if u have any idea to make more secure user credential .




Coolfish Smiley Happy


Posts: 246
Registered: ‎09-30-2010
My Device: Z10, Onyx2
My Carrier: IND XL

Re: Security for user credential

persistentstorage is not secure if you store it using standard type.
create a class for that data and store it to persistant. with this nobody could ever read your data. your data could only be access by using your class
Posts: 17,003
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Security for user credential

see the API of persistant object, section "Controlling access to persistent objects":
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter