tu.crossing.JavaCryptographicArchitecture.3.1.2.source-code.PasswordAuthentication.crysl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of JavaCryptographicArchitecture
Show all versions of JavaCryptographicArchitecture
JavaCryptographicArchitecture CrySL ruleset
The newest version!
SPEC java.net.PasswordAuthentication
OBJECTS
java.lang.String userName;
java.lang.String retUserName;
char[] password;
EVENTS
c1: PasswordAuthentication(userName, password);
Con := c1;
gp1: getPassword();
GetPassword := gp1;
gu1: retUserName = getUserName();
GetUserName := gu1;
ORDER
Con, (GetPassword | GetUserName)*
CONSTRAINTS
neverTypeOf[password, java.lang.String];
notHardCoded[password];
ENSURES
generatedPasswordAuthentication[this];