Skip to content
Advertisement

Tag: attributes

Using attributes of one class in another class

I am trying to move the assertThat method from Authentication class to the BDDStyledMethod class but the current code will generate the following error “‘Creds(java.lang.String)’ in ‘steps.Authentication’ cannot be applied to ‘()'” How do i correct my code so that the assertThat method works in the BDDStyledMethod class ? Answer The problem is with the Creds method. It is not

spring-ldap auto fetch operational fields

Gooday, Were working on a tool that lets users change there password (generated). And I’m walking in to a litle problem where using Spring Ldap (2.1.0.RELEASE). Now we want to set some of the operational attributes. This is the code I use: Now as long the operational attribute pwdReset is never set this bit of code works fine. But if

Advertisement