public class Password extends java.lang.Object
You can create a new password credential add it to a subject as follows:
pswd = Password.create("password"); subject.addPrivateCredential(pswd);
|Modifier and Type||Method and Description|
Creates a new Password credential..
Returns the password as a string.
Changes the value of the Password credential.
public static Password create(java.lang.String password)
password- String value of the password.
public java.lang.String getValue()
public void setValue(java.lang.String value)
value- String value of the password.
Rogue Wave, Inc. Copyright (C) 2000-2019, All rights reserved
This software is the confidential and proprietary information of Rogue Wave, Inc. and is subject to copyright protection under laws of the United States of America and other countries. The use of this software should be in accordance with the license agreement terms you entered into with Rogue Wave, Inc.