Skip to content

Commit 9c0c926

Browse files
committed
Merge pull request #34 from onelogin/INT-275
Modifications to allow inheritance.
2 parents ba72e21 + 905a264 commit 9c0c926

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/main/java/com/onelogin/saml/AuthRequest.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222

2323
public class AuthRequest {
2424

25-
private final String id;
26-
private final String issueInstant;
27-
private final AppSettings appSettings;
28-
private AccountSettings accountSettings;
29-
public static final int base64 = 1;
30-
private Deflater deflater;
25+
protected final String id;
26+
protected final String issueInstant;
27+
protected final AppSettings appSettings;
28+
protected AccountSettings accountSettings;
29+
protected static final int base64 = 1;
30+
protected Deflater deflater;
3131

3232
public AuthRequest(AppSettings appSettings, AccountSettings accSettings){
3333
this.appSettings = appSettings;
@@ -82,7 +82,7 @@ public String getRequest(int format) throws XMLStreamException, IOException {
8282
return result;
8383
}
8484

85-
private String encodeSAMLRequest(byte[] pSAMLRequest) throws RuntimeException {
85+
protected String encodeSAMLRequest(byte[] pSAMLRequest) throws RuntimeException {
8686

8787
Base64 base64Encoder = new Base64();
8888

0 commit comments

Comments
 (0)