Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Includes plugins for Srp224, Srp384 and Srp512 which are not yet selectable.
- Loading branch information
1 parent
a483426
commit a61214b
Showing
18 changed files
with
350 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
src/main/org/firebirdsql/gds/ng/wire/auth/Srp224AuthenticationPluginSpi.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* Firebird Open Source JavaEE Connector - JDBC Driver | ||
* | ||
* Distributable under LGPL license. | ||
* You may obtain a copy of the License at http://www.gnu.org/copyleft/lgpl.html | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* LGPL License for more details. | ||
* | ||
* This file was created by members of the firebird development team. | ||
* All individual contributions remain the Copyright (C) of those | ||
* individuals. Contributors to this file are either listed here or | ||
* can be obtained from a source control history command. | ||
* | ||
* All rights reserved. | ||
*/ | ||
package org.firebirdsql.gds.ng.wire.auth; | ||
|
||
/** | ||
* Srp224 authentication plugin service provider. | ||
* | ||
* @author <a href="mailto:mrotteveel@users.sourceforge.net">Mark Rotteveel</a> | ||
* @since 4.0 | ||
*/ | ||
public class Srp224AuthenticationPluginSpi implements AuthenticationPluginSpi { | ||
|
||
public static final String SRP_AUTH_NAME = "Srp224"; | ||
|
||
@Override | ||
public String getPluginName() { | ||
return SRP_AUTH_NAME; | ||
} | ||
|
||
@Override | ||
public AuthenticationPlugin createPlugin() { | ||
return new SrpAuthenticationPlugin(SRP_AUTH_NAME, "SHA-224"); | ||
} | ||
|
||
} |
41 changes: 41 additions & 0 deletions
41
src/main/org/firebirdsql/gds/ng/wire/auth/Srp256AuthenticationPluginSpi.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* Firebird Open Source JavaEE Connector - JDBC Driver | ||
* | ||
* Distributable under LGPL license. | ||
* You may obtain a copy of the License at http://www.gnu.org/copyleft/lgpl.html | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* LGPL License for more details. | ||
* | ||
* This file was created by members of the firebird development team. | ||
* All individual contributions remain the Copyright (C) of those | ||
* individuals. Contributors to this file are either listed here or | ||
* can be obtained from a source control history command. | ||
* | ||
* All rights reserved. | ||
*/ | ||
package org.firebirdsql.gds.ng.wire.auth; | ||
|
||
/** | ||
* Srp256 authentication plugin service provider. | ||
* | ||
* @author <a href="mailto:mrotteveel@users.sourceforge.net">Mark Rotteveel</a> | ||
* @since 3.0.5 | ||
*/ | ||
public class Srp256AuthenticationPluginSpi implements AuthenticationPluginSpi { | ||
|
||
public static final String SRP_AUTH_NAME = "Srp256"; | ||
|
||
@Override | ||
public String getPluginName() { | ||
return SRP_AUTH_NAME; | ||
} | ||
|
||
@Override | ||
public AuthenticationPlugin createPlugin() { | ||
return new SrpAuthenticationPlugin(SRP_AUTH_NAME, "SHA-256"); | ||
} | ||
|
||
} |
41 changes: 41 additions & 0 deletions
41
src/main/org/firebirdsql/gds/ng/wire/auth/Srp384AuthenticationPluginSpi.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* Firebird Open Source JavaEE Connector - JDBC Driver | ||
* | ||
* Distributable under LGPL license. | ||
* You may obtain a copy of the License at http://www.gnu.org/copyleft/lgpl.html | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* LGPL License for more details. | ||
* | ||
* This file was created by members of the firebird development team. | ||
* All individual contributions remain the Copyright (C) of those | ||
* individuals. Contributors to this file are either listed here or | ||
* can be obtained from a source control history command. | ||
* | ||
* All rights reserved. | ||
*/ | ||
package org.firebirdsql.gds.ng.wire.auth; | ||
|
||
/** | ||
* Srp384 authentication plugin service provider. | ||
* | ||
* @author <a href="mailto:mrotteveel@users.sourceforge.net">Mark Rotteveel</a> | ||
* @since 4.0 | ||
*/ | ||
public class Srp384AuthenticationPluginSpi implements AuthenticationPluginSpi { | ||
|
||
public static final String SRP_AUTH_NAME = "Srp384"; | ||
|
||
@Override | ||
public String getPluginName() { | ||
return SRP_AUTH_NAME; | ||
} | ||
|
||
@Override | ||
public AuthenticationPlugin createPlugin() { | ||
return new SrpAuthenticationPlugin(SRP_AUTH_NAME, "SHA-384"); | ||
} | ||
|
||
} |
41 changes: 41 additions & 0 deletions
41
src/main/org/firebirdsql/gds/ng/wire/auth/Srp512AuthenticationPluginSpi.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* Firebird Open Source JavaEE Connector - JDBC Driver | ||
* | ||
* Distributable under LGPL license. | ||
* You may obtain a copy of the License at http://www.gnu.org/copyleft/lgpl.html | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* LGPL License for more details. | ||
* | ||
* This file was created by members of the firebird development team. | ||
* All individual contributions remain the Copyright (C) of those | ||
* individuals. Contributors to this file are either listed here or | ||
* can be obtained from a source control history command. | ||
* | ||
* All rights reserved. | ||
*/ | ||
package org.firebirdsql.gds.ng.wire.auth; | ||
|
||
/** | ||
* Srp512 authentication plugin service provider. | ||
* | ||
* @author <a href="mailto:mrotteveel@users.sourceforge.net">Mark Rotteveel</a> | ||
* @since 4.0 | ||
*/ | ||
public class Srp512AuthenticationPluginSpi implements AuthenticationPluginSpi { | ||
|
||
public static final String SRP_AUTH_NAME = "Srp512"; | ||
|
||
@Override | ||
public String getPluginName() { | ||
return SRP_AUTH_NAME; | ||
} | ||
|
||
@Override | ||
public AuthenticationPlugin createPlugin() { | ||
return new SrpAuthenticationPlugin(SRP_AUTH_NAME, "SHA-512"); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.